-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Description
Got this error when upgrading typing-extensions to 4.6. pydash works fine with typing-extensions 4.5.
utils/__init__.py:20: in <module>
from pydash import last
.venv/lib/python3.10/site-packages/pydash/__init__.py:170: in <module>
from .objects import (
.venv/lib/python3.10/site-packages/pydash/objects.py:17: in <module>
from .utilities import PathToken, to_path, to_path_tokens
.venv/lib/python3.10/site-packages/pydash/utilities.py:577: in <module>
class MemoizedFunc(Protocol[P, T, T2]):
../lang/lib/python3.10/typing.py:312: in inner
return func(*args, **kwds)
.venv/lib/python3.10/site-packages/typing_extensions.py:672: in __class_getitem__
raise TypeError(
E TypeError: Parameters to Protocol[...] must all be type variables. Parameter 1 is ~P
jenstroeger, ashutosh-hs, pcorbel, BoboTiG, jbarrella and 2 morelaksh2206
Metadata
Metadata
Assignees
Labels
No labels