Skip to content

Commit

Permalink
Removal of 'task_block' parameter from several launcher's docstring (P…
Browse files Browse the repository at this point in the history
…arsl#3613)

In current version, Some of the launchers have parameter called 'task_block' mentioned in the docstring of the __call__ method but it is redundant and have no reflection on the code. This fix removes the mentioned parameter from the docstrings.
  • Loading branch information
Harichandra-Prasath authored and yadudoc committed Sep 19, 2024
1 parent 805e2cf commit cc85bef
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions parsl/launchers/launchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def __call__(self, command: str, tasks_per_node: int, nodes_per_block: int) -> s
"""
Args:
- command (string): The command string to be launched
- task_block (string) : bash evaluated string.
- fail_on_any: If True, return a nonzero exit code if any worker failed, otherwise zero;
if False, return a nonzero exit code if all workers failed, otherwise zero.
Expand Down Expand Up @@ -131,7 +130,6 @@ def __call__(self, command: str, tasks_per_node: int, nodes_per_block: int) -> s
"""
Args:
- command (string): The command string to be launched
- task_block (string) : bash evaluated string.
"""
task_blocks = tasks_per_node * nodes_per_block
Expand Down Expand Up @@ -208,7 +206,6 @@ def __call__(self, command: str, tasks_per_node: int, nodes_per_block: int) -> s
"""
Args:
- command (string): The command string to be launched
- task_block (string) : bash evaluated string.
"""
task_blocks = tasks_per_node * nodes_per_block
Expand Down Expand Up @@ -263,7 +260,6 @@ def __call__(self, command: str, tasks_per_node: int, nodes_per_block: int) -> s
"""
Args:
- command (string): The command string to be launched
- task_block (string) : bash evaluated string.
"""
task_blocks = tasks_per_node * nodes_per_block
Expand Down Expand Up @@ -311,7 +307,6 @@ def __call__(self, command: str, tasks_per_node: int, nodes_per_block: int) -> s
"""
Args:
- command (string): The command string to be launched
- task_block (string) : bash evaluated string.
"""
task_blocks = tasks_per_node * nodes_per_block
Expand Down Expand Up @@ -363,7 +358,6 @@ def __call__(self, command: str, tasks_per_node: int, nodes_per_block: int) -> s
"""
Args:
- command (string): The command string to be launched
- task_block (string) : bash evaluated string.
"""
task_blocks = tasks_per_node * nodes_per_block
Expand Down

0 comments on commit cc85bef

Please sign in to comment.