pandera.dtypes.immutable¶
- pandera.dtypes.immutable(pandera_dtype_cls=None, **dataclass_kwargs)[source]¶
dataclasses.dataclass()
decorator with different default values: frozen=True, init=False, repr=False.In addition, init=False disables inherited __init__ method to ensure the DataType’s default attributes are not altered during initialization.