Great package.
Unfortunately I work with time series data a lot (example) below
and I am getting a runtime error like:
RuntimeError: no validator found for <class '__main__.PolarsDate'>, see `arbitrary_types_allowed` in Config
Example
from polars import DataFrame, Datetime, Date
@validate_arguments(config=dict(arbitrary_types_allowed=True))
class ScoresTable(pt.Model):
id: int = pt.Field(ge=0, unique=True)
local_date: Date
utc_dt: Datetime(time_unit='us', time_zone='UTC')
values: float
Great package. Unfortunately I work with time series data a lot (example) below and I am getting a runtime error like:
Example