Closed mitchstockdale closed 4 months ago
validation_alias
serialization_alias
pydantic.Field
SparkModel.model_spark_schema()
pydantic.BaseModel.model_json_schema()
'validation'
'serialization'
by_alias
True
Changes
validation_alias
andserialization_alias
forpydantic.Field
(see Alias docs)SparkModel.model_spark_schema()
is the same as that ofpydantic.BaseModel.model_json_schema()
(see docs)'validation'
is the default mode by which to generate the schema ('serialization'
is also supported)by_alias
isTrue
by defaultNotes