NullableDateTimeType

emmet.core.types.typing.NullableDateTimeType

Nullable datetime serde.

See: https://docs.pydantic.dev/latest/concepts/fields/#the-annotated-pattern for why this separate class is necesary instead of DateTimeType | None

alias of Annotated[datetime | None, FieldInfo(annotation=NoneType, required=False, default_factory=utcnow), BeforeValidator(func=convert_datetime, json_schema_input_type=PydanticUndefined)]