fix(type hints): use correct import for Python < 3.12 (Fixes #163 )

This commit is contained in:
Karim shoair
2026-03-05 16:45:10 +02:00
parent 37f5c48a5f
commit c8e1d8d75d
+1 -2
View File
@@ -4,7 +4,6 @@ Type definitions for type checking purposes.
from typing import (
TYPE_CHECKING,
TypedDict,
TypeAlias,
cast,
overload,
@@ -32,7 +31,7 @@ from typing import (
Coroutine,
SupportsIndex,
)
from typing_extensions import Self, Unpack
from typing_extensions import Self, Unpack, TypedDict
# Proxy can be a string URL or a dict (Playwright format: {"server": "...", "username": "...", "password": "..."})
ProxyType = Union[str, Dict[str, str]]