diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-01-24 01:05:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 01:05:29 +0100 |
commit | 71d71b6512df12d6295c1f8323eb056edd89c57f (patch) | |
tree | db88f2c8237b51519401e077df059b71f41e6404 /g4f/typing.py | |
parent | Merge pull request #1509 from hlohaus/sort (diff) | |
parent | Add get_connector helper (diff) | |
download | gpt4free-71d71b6512df12d6295c1f8323eb056edd89c57f.tar gpt4free-71d71b6512df12d6295c1f8323eb056edd89c57f.tar.gz gpt4free-71d71b6512df12d6295c1f8323eb056edd89c57f.tar.bz2 gpt4free-71d71b6512df12d6295c1f8323eb056edd89c57f.tar.lz gpt4free-71d71b6512df12d6295c1f8323eb056edd89c57f.tar.xz gpt4free-71d71b6512df12d6295c1f8323eb056edd89c57f.tar.zst gpt4free-71d71b6512df12d6295c1f8323eb056edd89c57f.zip |
Diffstat (limited to 'g4f/typing.py')
-rw-r--r-- | g4f/typing.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/g4f/typing.py b/g4f/typing.py index a6a62e3f..fd4fd047 100644 --- a/g4f/typing.py +++ b/g4f/typing.py @@ -1,5 +1,5 @@ import sys -from typing import Any, AsyncGenerator, Generator, NewType, Tuple, Union, List, Dict, Type, IO +from typing import Any, AsyncGenerator, Generator, NewType, Tuple, Union, List, Dict, Type, IO, Optional from PIL.Image import Image if sys.version_info >= (3, 8): @@ -22,6 +22,8 @@ __all__ = [ 'List', 'Dict', 'Type', + 'IO', + 'Optional', 'TypedDict', 'SHA256', 'CreateResult', |