From c8e1d8d75d82d2bbabc9925a6e7a0ec16a493790 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Thu, 5 Mar 2026 16:45:10 +0200 Subject: [PATCH] fix(type hints): use correct import for Python < 3.12 (Fixes #163 ) --- scrapling/core/_types.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scrapling/core/_types.py b/scrapling/core/_types.py index f2fc097..25ddb5b 100644 --- a/scrapling/core/_types.py +++ b/scrapling/core/_types.py @@ -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]]