RuntimeState: Add type annotation for 'card' argument

Change-Id: I3c5138a918f7e45aabe3972883714d05ee704877
This commit is contained in:
Harald Welte
2023-10-21 20:21:51 +02:00
parent bdf595756e
commit 49acc06327

View File

@@ -38,7 +38,7 @@ def lchan_nr_from_cla(cla: int) -> int:
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