laforge has submitted this change. (
https://gerrit.osmocom.org/c/pysim/+/34845?usp=email )
Change subject: RuntimeState: Add type annotation for 'card' argument
......................................................................
RuntimeState: Add type annotation for 'card' argument
Change-Id: I3c5138a918f7e45aabe3972883714d05ee704877
---
M pySim/runtime.py
1 file changed, 10 insertions(+), 1 deletion(-)
Approvals:
fixeria: Looks good to me, but someone else must approve
Jenkins Builder: Verified
laforge: Looks good to me, approved
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 https://gerrit.osmocom.org/c/pysim/+/34845?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I3c5138a918f7e45aabe3972883714d05ee704877
Gerrit-Change-Number: 34845
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-MessageType: merged