Skip to content

Commit b4620f1

Browse files
try to fix typing
1 parent 3ab9dfb commit b4620f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/galaxy/tools/execution_helpers.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def filter_output(tool, output, incoming):
5353
return False
5454

5555

56-
def on_text_for_names(hids: Optional[Collection[int]], prefix: str) -> str:
56+
def on_text_for_names(hids: Optional[Collection[int]] = None, prefix: str) -> str:
5757
if hids is None or len(hids) == 0:
5858
return ""
5959
# hids may contain duplicates... this is because the first value in
@@ -84,7 +84,8 @@ def on_text_for_names(hids: Optional[Collection[int]], prefix: str) -> str:
8484

8585

8686
def on_text_for_dataset_and_collections(
87-
dataset_hids: Optional[Collection[int]] = None, collection_hids: Optional[Collection[int]] = None
87+
dataset_hids: Optional[Collection[int]] = None,
88+
collection_hids: Optional[Collection[int]] = None,
8889
) -> str:
8990
on_text_datasets = on_text_for_names(dataset_hids, "data")
9091
on_text_collection = on_text_for_names(collection_hids, "list")

0 commit comments

Comments
 (0)