Open cosmicBboy opened 1 month ago
Currently, pydantic and typeguard are being used in pandas_engine.py to implement support for generic types via the PythonGenericType datatype: https://github.com/unionai-oss/pandera/blob/main/pandera/engines/pandas_engine.py#L1347.
pydantic
typeguard
pandas_engine.py
PythonGenericType
Consider making this either: a soft dependency such that the types are only available if these packages are available, or adding an additional extra to pandera, i.e. pip install 'pandera[generics] or something to that effect.
pip install 'pandera[generics]
Currently,
pydantic
andtypeguard
are being used inpandas_engine.py
to implement support for generic types via thePythonGenericType
datatype: https://github.com/unionai-oss/pandera/blob/main/pandera/engines/pandas_engine.py#L1347.Consider making this either: a soft dependency such that the types are only available if these packages are available, or adding an additional extra to pandera, i.e.
pip install 'pandera[generics]
or something to that effect.