We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f2b71b commit 135d461Copy full SHA for 135d461
template/justfile
@@ -99,9 +99,10 @@ gen-doc:
99
[group('model development')]
100
testdoc: gen-doc _serve
101
102
-# Generate the Python data model
+# Generate the Python data models (dataclasses & pydantic)
103
gen-python:
104
poetry run gen-project -d {{pymodel}} -I python {{source_schema_path}}
105
+ poetry run gen-pydantic {{gen_pydantic_args}} {{source_schema_path}} > {{pymodel}}/{{schema_name}}_pydantic.py
106
107
# Generate project files including Python data model
108
0 commit comments