File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
turu-snowflake/src/turu/snowflake Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1- from typing import TypeVar
1+ from typing import Generic , TypeVar
22
33from turu .core .features import _NotSupportFeature
44from typing_extensions import Never , TypeAlias
55
66T = TypeVar ("T" )
77
8+
9+ class _NotSupportFeatureT (Generic [T ]):
10+ pass
11+
12+
813try :
914 import pandas # type: ignore[import] # noqa: F401
1015
4550
4651except ImportError :
4752 USE_PANDERA = False
48- PanderaDataFrame : TypeAlias = _NotSupportFeature [T ] # type: ignore
49- PanderaDataFrameModel = _NotSupportFeature [ T ] # type: ignore
53+ PanderaDataFrame : TypeAlias = _NotSupportFeatureT [T ] # type: ignore
54+ PanderaDataFrameModel = _NotSupportFeature # type: ignore
5055 GenericPanderaDataFrameModel = TypeVar (
5156 "GenericPanderaDataFrameModel" , bound = _NotSupportFeature
5257 )
You can’t perform that action at this time.
0 commit comments