summaryrefslogtreecommitdiffstats
path: root/g4f/typing.py
diff options
context:
space:
mode:
authorMIDORIBIN <aquarion123@gmail.com>2023-07-28 12:07:17 +0200
committerMIDORIBIN <aquarion123@gmail.com>2023-08-14 04:46:32 +0200
commitf6ef3cb2237d8c336e915ef77ddbe6f37934c4fd (patch)
treec8bc44917ea03909cf586140f984ff0814bc30ea /g4f/typing.py
parent~ | small fixes & new pypi version | v-0.0.1.9 (diff)
downloadgpt4free-f6ef3cb2237d8c336e915ef77ddbe6f37934c4fd.tar
gpt4free-f6ef3cb2237d8c336e915ef77ddbe6f37934c4fd.tar.gz
gpt4free-f6ef3cb2237d8c336e915ef77ddbe6f37934c4fd.tar.bz2
gpt4free-f6ef3cb2237d8c336e915ef77ddbe6f37934c4fd.tar.lz
gpt4free-f6ef3cb2237d8c336e915ef77ddbe6f37934c4fd.tar.xz
gpt4free-f6ef3cb2237d8c336e915ef77ddbe6f37934c4fd.tar.zst
gpt4free-f6ef3cb2237d8c336e915ef77ddbe6f37934c4fd.zip
Diffstat (limited to '')
-rw-r--r--g4f/typing.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/g4f/typing.py b/g4f/typing.py
index e41a567a..5d4489f9 100644
--- a/g4f/typing.py
+++ b/g4f/typing.py
@@ -1,3 +1,15 @@
-from typing import Dict, NewType, Union, Optional, List, get_type_hints
+from typing import Any, AsyncGenerator, Generator, NewType, Tuple, TypedDict
-sha256 = NewType('sha_256_hash', str) \ No newline at end of file
+SHA256 = NewType("sha_256_hash", str)
+CreateResult = Generator[str, None, None]
+
+
+__all__ = [
+ "Any",
+ "AsyncGenerator",
+ "Generator",
+ "Tuple",
+ "TypedDict",
+ "SHA256",
+ "CreateResult",
+]