Skip to content

Commit

Permalink
Update anotations
Browse files Browse the repository at this point in the history
  • Loading branch information
goFrendiAsgard committed Nov 22, 2024
1 parent ae77fc5 commit 402e782
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/zrb/task/base_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def __init__(
icon: str | None = None,
description: str | None = None,
cli_only: bool = False,
input: list[AnyInput] | AnyInput | None = None,
env: list[AnyEnv] | AnyEnv | None = None,
input: list[AnyInput | None] | AnyInput | None = None,
env: list[AnyEnv | None] | AnyEnv | None = None,
action: fstring | Callable[[AnyContext], Any] | None = None,
execute_condition: BoolAttr = True,
retries: int = 2,
Expand Down
4 changes: 2 additions & 2 deletions src/zrb/task/base_trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def __init__(
icon: str | None = None,
description: str | None = None,
cli_only: bool = False,
input: list[AnyInput] | AnyInput | None = None,
env: list[AnyEnv] | AnyEnv | None = None,
input: list[AnyInput | None] | AnyInput | None = None,
env: list[AnyEnv | None] | AnyEnv | None = None,
action: fstring | Callable[[AnyContext], Any] | None = None,
execute_condition: bool | str | Callable[[AnySharedContext], bool] = True,
queue_name: fstring | None = None,
Expand Down
4 changes: 2 additions & 2 deletions src/zrb/task/cmd_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def __init__(
icon: str | None = None,
description: str | None = None,
cli_only: bool = False,
input: list[AnyInput] | AnyInput | None = None,
env: list[AnyEnv] | AnyEnv | None = None,
input: list[AnyInput | None] | AnyInput | None = None,
env: list[AnyEnv | None] | AnyEnv | None = None,
shell: StrAttr | None = None,
auto_render_shell: bool = True,
shell_flag: StrAttr | None = None,
Expand Down
4 changes: 2 additions & 2 deletions src/zrb/task/make_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def make_task(
icon: str | None = None,
description: str | None = None,
cli_only: bool = False,
input: list[AnyInput] | AnyInput | None = None,
env: list[AnyEnv] | AnyEnv | None = None,
input: list[AnyInput | None] | AnyInput | None = None,
env: list[AnyEnv | None] | AnyEnv | None = None,
execute_condition: bool | str | Callable[[AnySharedContext], bool] = True,
retries: int = 2,
retry_period: float = 0,
Expand Down
4 changes: 2 additions & 2 deletions src/zrb/task/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def __init__(
icon: str | None = None,
description: str | None = None,
cli_only: bool = False,
input: list[AnyInput] | AnyInput | None = None,
env: list[AnyEnv] | AnyEnv | None = None,
input: list[AnyInput | None] | AnyInput | None = None,
env: list[AnyEnv | None] | AnyEnv | None = None,
schedule: StrAttr = None,
execute_condition: bool | str | Callable[[AnySharedContext], bool] = True,
queue_name: fstring | None = None,
Expand Down

0 comments on commit 402e782

Please sign in to comment.