Skip to content

Commit

Permalink
Pass genmeta flag when running gen-python
Browse files Browse the repository at this point in the history
  • Loading branch information
pkalita-lbl committed Dec 9, 2022
1 parent 488ae70 commit b31738c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ deploy: gendoc mkd-gh-deploy
# generates all project files
# and updates the artifacts in linkml-model
gen-project: $(PYMODEL)
$(RUN) gen-project -d $(DEST) $(SOURCE_SCHEMA_PATH) && mv $(DEST)/*.py $(PYMODEL)
$(RUN) gen-project -d $(DEST) --config-file gen_project_config.yaml $(SOURCE_SCHEMA_PATH) && mv $(DEST)/*.py $(PYMODEL)
cp -r $(DEST)/* $(PYMODEL)
rm -r $(PYMODEL)/docs

Expand Down
4 changes: 4 additions & 0 deletions gen_project_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
generator_args:
python:
genmeta: True
mergeimports: False

0 comments on commit b31738c

Please sign in to comment.