Skip to content

Commit

Permalink
components dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Alzbeta Pokorna committed Jan 28, 2025
1 parent 6beb145 commit d537f4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions oarepo_model_builder_rdm/datatypes/components/service.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from oarepo_model_builder.datatypes import DataTypeComponent
from oarepo_model_builder.datatypes.components.model import ServiceModelComponent
from oarepo_model_builder.datatypes.model import ModelDataType
from oarepo_model_builder.datatypes.components.model.utils import set_default
from oarepo_model_builder_files.datatypes.components import ParentRecordComponent

class RDMServiceComponent(DataTypeComponent):
eligible_datatypes = [ModelDataType]
depends_on = [ServiceModelComponent]
depends_on = [ServiceModelComponent, ParentRecordComponent]

def before_model_prepare(self, datatype, *, context, **kwargs):

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-rdm
version = 1.0.4
version = 1.0.5
description =
authors = Alzbeta Pokorna <[email protected]>
readme = README.md
Expand Down

0 comments on commit d537f4b

Please sign in to comment.