mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-30 21:17:46 +03:00
RuntimeState: Add type annotation for 'card' argument
Change-Id: I3c5138a918f7e45aabe3972883714d05ee704877
This commit is contained in:
@@ -38,7 +38,7 @@ def lchan_nr_from_cla(cla: int) -> int:
|
|||||||
class RuntimeState:
|
class RuntimeState:
|
||||||
"""Represent the runtime state of a session with a card."""
|
"""Represent the runtime state of a session with a card."""
|
||||||
|
|
||||||
def __init__(self, card, profile: 'CardProfile'):
|
def __init__(self, card: 'CardBase', profile: 'CardProfile'):
|
||||||
"""
|
"""
|
||||||
Args:
|
Args:
|
||||||
card : pysim.cards.Card instance
|
card : pysim.cards.Card instance
|
||||||
|
|||||||
Reference in New Issue
Block a user