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:
|
||||
"""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
|
||||
|
||||
Reference in New Issue
Block a user