mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-09-27 04:36:17 +08:00
Update typing.py
This commit is contained in:
@@ -15,9 +15,9 @@ from typing import (
|
|||||||
Type,
|
Type,
|
||||||
IO,
|
IO,
|
||||||
Optional,
|
Optional,
|
||||||
TypedDict,
|
|
||||||
TYPE_CHECKING,
|
TYPE_CHECKING,
|
||||||
)
|
)
|
||||||
|
from typing_extensions import TypedDict
|
||||||
|
|
||||||
# Only import PIL for type-checkers; no runtime dependency required.
|
# Only import PIL for type-checkers; no runtime dependency required.
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
|
Reference in New Issue
Block a user