Skip to content

Commit

Permalink
Merge pull request #4 from oarepo/bug-fix
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
SilvyPuzzlewell authored Jul 18, 2023
2 parents 9544b9f + ef17cd4 commit 9b99eef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ def before_model_prepare(self, datatype, *, context, **kwargs):
record_service_config.setdefault(
"class", parent_record_datatype.definition["service-config"]["class"]
)
record_service_config.setdefault(
"service-id", parent_record_datatype.definition["service-config"]["service-id"]
)

if context["profile"] == "record":
record_service.setdefault(
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-model-builder-drafts
version = 1.0.4
version = 4.0.0
description =
authors = Ronald Krist <[email protected]>
readme = README.md
Expand Down

0 comments on commit 9b99eef

Please sign in to comment.