Skip to content

Commit 2e99f8c

Browse files
[GENERATE] Pydantic models from JSON Schema
1 parent 5508a2c commit 2e99f8c

File tree

2 files changed

+6
-6
lines changed
  • generated/python/datadoc_model/datadoc_model

2 files changed

+6
-6
lines changed

generated/python/datadoc_model/datadoc_model/all_optional/model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: metadata-container-json-schema.json
3-
# timestamp: 2025-09-03T08:17:28+00:00
3+
# timestamp: 2025-09-03T09:18:23+00:00
44

55
from __future__ import annotations
66

@@ -386,8 +386,8 @@ class DatadocMetadata(DatadocBaseModel):
386386
percentage_complete: Optional[int] = Field(
387387
None, description="Percentage of obligatory metadata fields populated."
388388
)
389-
document_version: Literal["5.0.1"] = Field(
390-
"5.0.1", description="Version of this model"
389+
document_version: Literal["6.0.1"] = Field(
390+
"6.0.1", description="Version of this model"
391391
)
392392
dataset: Optional[Dataset] = None
393393
variables: Optional[list[Variable]] = None

generated/python/datadoc_model/datadoc_model/required/model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: metadata-container-json-schema.json
3-
# timestamp: 2025-09-03T08:17:29+00:00
3+
# timestamp: 2025-09-03T09:18:25+00:00
44

55
from __future__ import annotations
66

@@ -378,8 +378,8 @@ class DatadocMetadata(DatadocBaseModel):
378378
percentage_complete: Optional[int] = Field(
379379
None, description="Percentage of obligatory metadata fields populated."
380380
)
381-
document_version: Literal["5.0.1"] = Field(
382-
"5.0.1", description="Version of this model"
381+
document_version: Literal["6.0.1"] = Field(
382+
"6.0.1", description="Version of this model"
383383
)
384384
dataset: Dataset
385385
variables: list[Variable]

0 commit comments

Comments
 (0)