# generated by datamodel-codegen:
#   filename:  use_pendulum.json
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from pendulum import Date, Duration
from pydantic import AwareDatetime, BaseModel


class Event(BaseModel):
    name: str
    created_at: AwareDatetime
    event_date: Date | None = None
    duration: Duration | None = None
