OpenGPT / g4f /typing.py
AchyuthGamer's picture
Upload 100 files
d2f3514
raw
history blame contribute delete
409 Bytes
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
SHA256 = NewType('sha_256_hash', str)
CreateResult = Generator[str, None, None]
__all__ = [
'Any',
'AsyncGenerator',
'Generator',
'Tuple',
'TypedDict',
'SHA256',
'CreateResult',
]