laforge submitted this change.
RuntimeState: Add type annotation for 'card' argument
Change-Id: I3c5138a918f7e45aabe3972883714d05ee704877
---
M pySim/runtime.py
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/pySim/runtime.py b/pySim/runtime.py
index d6c6d19..88de69e 100644
--- a/pySim/runtime.py
+++ b/pySim/runtime.py
@@ -38,7 +38,7 @@
class RuntimeState:
"""Represent the runtime state of a session with a card."""
- def __init__(self, card, profile: 'CardProfile'):
+ def __init__(self, card: 'CardBase', profile: 'CardProfile'):
"""
Args:
card : pysim.cards.Card instance
To view, visit change 34845. To unsubscribe, or for help writing mail filters, visit settings.