add version to PYTHON todos
This commit is contained in:
1 parent
97e4f084cb
commit
3f3903cc81
1 file changed
+3
-3
@@ -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]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user