Skip to content

Commit

Permalink
Added return type to task rule
Browse files Browse the repository at this point in the history
  • Loading branch information
indraneel07 committed Sep 5, 2024
1 parent 91ca09e commit 5e7e1ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion orbiter_translations/automic/xml_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ def bash_command_rule(


@task_rule(priority=2)
def start_or_end_rule(val):
def start_or_end_rule(
val: dict,
) -> OrbiterEmptyOperator | None:
"""
Translate input into an EmptyOperator for start and end tasks
Expand Down

0 comments on commit 5e7e1ca

Please sign in to comment.