add version to PYTHON todos
This commit is contained in:
@@ -89,11 +89,11 @@ except ImportError:
|
|||||||
# Types
|
# Types
|
||||||
Args = argparse.Namespace
|
Args = argparse.Namespace
|
||||||
OtpUrl = str
|
OtpUrl = str
|
||||||
# PYTHON 3.11: Otp = TypedDict('Otp', {'name': str, 'secret': str, 'issuer': str, 'type': str, 'counter': int | None, 'url': OtpUrl})
|
# PYTHON > 3.7: Otp = TypedDict('Otp', {'name': str, 'secret': str, 'issuer': str, 'type': str, 'counter': int | None, 'url': OtpUrl})
|
||||||
Otp = TypedDict('Otp', {'name': str, 'secret': str, 'issuer': str, 'type': str, 'counter': Union[int, None], 'url': OtpUrl})
|
Otp = TypedDict('Otp', {'name': str, 'secret': str, 'issuer': str, 'type': str, 'counter': Union[int, None], 'url': OtpUrl})
|
||||||
# PYTHON 3.11: Otps = list[Otp]
|
# PYTHON > 3.9: Otps = list[Otp]
|
||||||
Otps = List[Otp]
|
Otps = List[Otp]
|
||||||
# PYTHON 3.11: OtpUrls = list[OtpUrl]
|
# PYTHON > 3.9: OtpUrls = list[OtpUrl]
|
||||||
OtpUrls = List[OtpUrl]
|
OtpUrls = List[OtpUrl]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user