ts_ids_core.base.ids_undefined_type module¶
- IDS_UNDEFINED = IdsUndefined¶
Sentinel indicating that a field’s value is unknown or irrelevant. This is distinct from a field being NULL (None).
- class IdsUndefinedType[source]¶
Bases:
objectPlaceholder indicating that the the value of the
ts_ids_core.base.ids_element.IdsElementfield is unknown or non-existent.This is distinct from the
ts_ids_core.base.ids_element.IdsElement’s field beingNone.This was partially copied from
pydantic.fields.UndefinedType. It intentionally does not inherit frompydantic.fields.UndefinedTypeso that it failsisinstance()andissubclass()checks.- JSON_SCHEMA_TYPE = 'Undefined'¶
An instance’s ‘type’ in JSON Schema.
- PYDANTIC_UNDEFINED = PydanticUndefined¶
By default, pydantic passes default=PYDANTIC_UNDEFINED to the Field function and the FieldInfo constructor.