Skip to content

Commit 6c43be2

Browse files
hf-kkleinKonstantin
and
Konstantin
authored
fix: add --output-datetime-class AwareDatetime to datamodel-codegen (#27)
this was a regression introduced by datamodel-codengen bump Co-authored-by: Konstantin <[email protected]>
1 parent e54a9c0 commit 6c43be2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/maloident/v1/_autogenerated.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: openapi.yml
3-
# timestamp: 2024-10-02T12:07:18+00:00
3+
# timestamp: 2024-11-15T10:02:37+00:00
44

55
from __future__ import annotations
66

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ deps =
7575
.[formatting]
7676
.[codegen]
7777
commands =
78-
datamodel-codegen --encoding utf-8 --input openapi/v1/openapi.yml --output src/maloident/v1/_autogenerated.py --input-file-type openapi --output-model-type pydantic_v2.BaseModel
78+
datamodel-codegen --encoding utf-8 --input openapi/v1/openapi.yml --output src/maloident/v1/_autogenerated.py --input-file-type openapi --output-model-type pydantic_v2.BaseModel --output-datetime-class AwareDatetime
7979
black src/maloident/v1/_autogenerated.py
8080
isort src/maloident/v1/_autogenerated.py
8181

0 commit comments

Comments
 (0)