Skip to content

Commit

Permalink
Updated path for templates
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaDaniel committed Nov 29, 2023
1 parent 79d2159 commit 03ca20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bo4e_generator/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def adapt_parse_for_sql(
additional_arguments["extra_template_data"] = additional_sql_data
additional_arguments["additional_imports"] = ["sqlmodel.Field", "uuid as uuid_pkg", "sqlmodel.Relationship"]
additional_arguments["base_class"] = "sqlmodel.SQLModel"
additional_arguments["custom_template_dir"] = Path("custom_templates")
additional_arguments["custom_template_dir"] = Path(__file__).resolve().parent / Path("custom_templates")

# save intermediate jsons
for schema in namespace.values():
Expand Down

0 comments on commit 03ca20c

Please sign in to comment.