Skip to content

Commit

Permalink
Merge pull request #101 from oarepo/components-order
Browse files Browse the repository at this point in the history
Component order
  • Loading branch information
mesemus authored Feb 10, 2025
2 parents 87e7e1a + 006ea5b commit 27d93d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions oarepo_communities/services/components/default_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from typing import TYPE_CHECKING

from invenio_records_resources.services.records.components.base import ServiceComponent
from oarepo_workflows.services.components.workflow import WorkflowSetupComponent

from oarepo_communities.proxies import current_oarepo_communities

Expand All @@ -12,7 +12,9 @@
from flask_principal import Identity


class CommunityDefaultWorkflowComponent(ServiceComponent):
class CommunityDefaultWorkflowComponent(WorkflowSetupComponent):
# affects all components, so should be placed as the first one
affects = "*"

def create(
self, identity: Identity, data: dict[str, Any] = None, **kwargs: Any
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-communities
version = 5.1.5
version = 5.1.6
description =
authors = Ronald Krist <[email protected]>
readme = README.md
Expand Down

0 comments on commit 27d93d1

Please sign in to comment.