There was an error while loading. Please reload this page.
2 parents 325b0b4 + e9f0b61 commit d42401bCopy full SHA for d42401b
2 files changed
template/justfile
@@ -110,7 +110,8 @@ gen-python:
110
[group('model development')]
111
gen-project:
112
uv run gen-project {{config_yaml}} -d {{dest}} {{source_schema_path}}
113
- mv {{dest}}/*.py {{pymodel}}
+ mkdir -p {{pymodel}}
114
+ mv {{dest}}/*.py {{pymodel}}/
115
uv run gen-pydantic {{gen_pydantic_args}} {{source_schema_path}} > {{pymodel}}/{{schema_name}}_pydantic.py
116
117
@# Some generators ignore config_yaml or cannot create directories, so we run them separately.
template/src/README.md
@@ -0,0 +1,4 @@
1
+# The linkML model and its Python representations
2
+
3
+This directory holds the schema, its Python representations
4
+and optionally also additional Python code for the project.
0 commit comments