|
|
|
@ -89,11 +89,11 @@ except ImportError:
|
|
|
|
|
# Types
|
|
|
|
|
Args = argparse.Namespace
|
|
|
|
|
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})
|
|
|
|
|
# PYTHON 3.11: Otps = list[Otp]
|
|
|
|
|
# PYTHON > 3.9: Otps = list[Otp]
|
|
|
|
|
Otps = List[Otp]
|
|
|
|
|
# PYTHON 3.11: OtpUrls = list[OtpUrl]
|
|
|
|
|
# PYTHON > 3.9: OtpUrls = list[OtpUrl]
|
|
|
|
|
OtpUrls = List[OtpUrl]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|