2023-09-11 03:29:48 -04:00
|
|
|
import sys
|
|
|
|
from typing import Any, AsyncGenerator, Generator, NewType, Tuple, Union
|
|
|
|
|
|
|
|
if sys.version_info >= (3, 8):
|
|
|
|
from typing import TypedDict
|
|
|
|
else:
|
|
|
|
from typing_extensions import TypedDict
|
2023-06-23 21:47:00 -04:00
|
|
|
|
2023-08-27 11:37:44 -04:00
|
|
|
SHA256 = NewType('sha_256_hash', str)
|
2023-07-28 06:07:17 -04:00
|
|
|
CreateResult = Generator[str, None, None]
|
|
|
|
|
|
|
|
__all__ = [
|
2023-08-27 11:37:44 -04:00
|
|
|
'Any',
|
|
|
|
'AsyncGenerator',
|
2023-09-15 21:33:03 -04:00
|
|
|
'CreateResult',
|
2023-08-27 11:37:44 -04:00
|
|
|
'Generator',
|
2023-09-15 21:33:03 -04:00
|
|
|
'SHA256',
|
2023-08-27 11:37:44 -04:00
|
|
|
'Tuple',
|
|
|
|
'TypedDict',
|
2023-09-15 21:33:03 -04:00
|
|
|
'Union',
|
2023-09-11 03:29:48 -04:00
|
|
|
]
|