From 49acc06327b5462674ab05c65d7b42980dc0aedd Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 21 Oct 2023 20:21:51 +0200 Subject: [PATCH] RuntimeState: Add type annotation for 'card' argument Change-Id: I3c5138a918f7e45aabe3972883714d05ee704877 --- pySim/runtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySim/runtime.py b/pySim/runtime.py index d6c6d19c..88de69eb 100644 --- a/pySim/runtime.py +++ b/pySim/runtime.py @@ -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