We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3771c06 commit 37acb98Copy full SHA for 37acb98
pandera/engines/pandas_engine.py
@@ -715,7 +715,7 @@ class Geometry(DataType):
715
class PydanticModel(DataType):
716
"""A pydantic model datatype applying to rows in a dataframe."""
717
718
- type: Type[BaseModel] = dataclasses.field(init=False)
+ type: Type[BaseModel] = dataclasses.field(default=None, init=False) # type: ignore # noqa
719
720
# pylint:disable=super-init-not-called
721
def __init__(self, model: Type[BaseModel]) -> None:
0 commit comments