Skip to content

Commit 7ce2681

Browse files
[GENERATE] Pydantic models from JSON Schema
1 parent f0acbc8 commit 7ce2681

File tree

2 files changed

+2
-12
lines changed
  • generated/python/datadoc_model/datadoc_model

2 files changed

+2
-12
lines changed

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

Lines changed: 1 addition & 6 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-05-21T07:06:22+00:00
3+
# timestamp: 2025-05-21T07:15:18+00:00
44

55
from __future__ import annotations
66

@@ -261,11 +261,6 @@ class Dataset(DatadocBaseModel):
261261
description="The data set contains data up until date/time",
262262
title="Contains data up until",
263263
)
264-
pseudonymization_time: Optional[datetime] = Field(
265-
None,
266-
description="Time at which the dataset was pseudonymized. In ISO 8601 format.",
267-
title="Dataset pseudo time",
268-
)
269264

270265

271266
class OtherSpecialValue(DatadocBaseModel):

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

Lines changed: 1 addition & 6 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-05-21T07:06:24+00:00
3+
# timestamp: 2025-05-21T07:15:20+00:00
44

55
from __future__ import annotations
66

@@ -255,11 +255,6 @@ class Dataset(DatadocBaseModel):
255255
description="The data set contains data up until date/time",
256256
title="Contains data up until",
257257
)
258-
pseudonymization_time: Optional[datetime] = Field(
259-
None,
260-
description="Time at which the dataset was pseudonymized. In ISO 8601 format.",
261-
title="Dataset pseudo time",
262-
)
263258

264259

265260
class OtherSpecialValue(DatadocBaseModel):

0 commit comments

Comments
 (0)