Skip to content

Commit

Permalink
Force kw signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Jun 8, 2024
1 parent a7f1b20 commit 69ac4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion law/workflow/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, *args, **kwargs) -> None:

self._workflow_has_reset_branch_map = False

def _get_task_attribute(self, name: str | Sequence[str], fallback: bool = False) -> Any:
def _get_task_attribute(self, name: str | Sequence[str], *, fallback: bool = False) -> Any:
"""
Return an attribute of the actual task named ``<workflow_type>_<name>``. When the attribute
does not exist and *fallback* is *True*, try to return the task attribute simply named
Expand Down

0 comments on commit 69ac4bf

Please sign in to comment.