gpt4free/g4f/typing.py

21 lines
409 B
Python
Raw Normal View History

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-24 01:47:00 +00:00
2023-08-27 15:37:44 +00:00
SHA256 = NewType('sha_256_hash', str)
2023-07-28 10:07:17 +00:00
CreateResult = Generator[str, None, None]
__all__ = [
2023-08-27 15:37:44 +00:00
'Any',
'AsyncGenerator',
'Generator',
'Tuple',
'TypedDict',
2023-09-17 21:23:54 +00:00
'SHA256',
'CreateResult',
]