Skip to content

Commit 7d10c02

Browse files
committed
Fix workflow_edit
1 parent 2ccbf59 commit 7d10c02

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

planemo/commands/cmd_workflow_edit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
def cli(ctx, workflow_identifier, output=None, force=False, **kwds):
1919
"""Open a synchronized Galaxy workflow editor."""
2020
assert is_galaxy_engine(**kwds)
21-
runnable = for_runnable_identifier(ctx, workflow_identifier, kwds.get("profile"))
21+
runnable = for_runnable_identifier(ctx, workflow_identifier, kwds)
2222

2323
kwds["workflows_from_path"] = True
2424

planemo/runnable_resolve.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
import os
2+
from typing import (
3+
Any,
4+
Dict,
5+
)
26

37
import requests
48

@@ -15,7 +19,7 @@
1519
)
1620

1721

18-
def for_runnable_identifier(ctx, runnable_identifier, kwds):
22+
def for_runnable_identifier(ctx, runnable_identifier, kwds: Dict[str, Any]):
1923
"""Convert URI, path, or alias into Runnable."""
2024
# could be a URI, path, or alias
2125
current_profile = kwds.get("profile")
@@ -33,7 +37,7 @@ def for_runnable_identifier(ctx, runnable_identifier, kwds):
3337
return runnable
3438

3539

36-
def for_runnable_identifiers(ctx, runnable_identifiers, kwds):
40+
def for_runnable_identifiers(ctx, runnable_identifiers, kwds: Dict[str, Any]):
3741
"""Convert lists of URIs, paths, and/or aliases into Runnables."""
3842
runnables = []
3943
for r in runnable_identifiers:

0 commit comments

Comments
 (0)