Pydantic · Type Alias
AwareDatetime
AwareDatetime is a Pydantic type for datetime values that must include timezone information. It helps ensure that date-time values represent a timezone-aware time.
Last updated
Syntax
class Model(BaseModel):
value: AwareDatetimeIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
NaiveDatetimePastDatetimeFutureDatetimedatetime