IdSchemaObject

IdSchemaObject(base_cls: type, id_field_name: str)
Schema object with required ID field.

Parameters

base_cls
type
required
The base class for the schema object.
id_field_name
str
required
Name of the ID field.

Inheritance

Inheritance Chain:
  • IdSchemaObject
  • SchemaObject
  • ABC

Descendants

Properties

id
IdField
The ID field for this schema object.

Static Methods

get_schema_field_type()

get_schema_field_type() -> types.UnionType