Skip to content

Commit

Permalink
fix: kwargs were not used in calling reference receivers, making some…
Browse files Browse the repository at this point in the history
… generators fail unexpected args
  • Loading branch information
mesemus committed Dec 11, 2024
1 parent eda3a54 commit 89ad053
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion oarepo_workflows/requests/generators/multiple_entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ def reference_receivers(
f"MultipleGeneratorsGenerator."
)

reference = generator.reference_receivers(record, request_type, **context)
reference = generator.reference_receivers(
record=record, request_type=request_type, **context
)
if reference:
references.extend(reference)
if not references:
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-workflows
version = 1.1.3
version = 1.1.4
description =
authors = Ronald Krist <[email protected]>
readme = README.md
Expand Down

0 comments on commit 89ad053

Please sign in to comment.