Timestamp

gafaelfawr.pydantic.Timestamp

Type for a datetime field that only accepts seconds since epoch.

alias of Annotated[datetime, BeforeValidator(func=normalize_datetime, json_schema_input_type=PydanticUndefined), PlainSerializer(func=~gafaelfawr.pydantic., return_type=int, when_used=always)]