Skip to content

Commit

Permalink
Add type annotations to planemo.runnable
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Oct 11, 2022
1 parent 04513a0 commit c728b26
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 64 deletions.
2 changes: 1 addition & 1 deletion planemo/cwl/run.py
Expand Up @@ -45,7 +45,7 @@ def __init__(
log: str,
outputs: Optional[Dict[str, Any]] = None,
) -> None:
self._runnable = runnable
super().__init__(runnable=runnable)
self._log = log
self._outputs = outputs

Expand Down
2 changes: 1 addition & 1 deletion planemo/galaxy/activity.py
Expand Up @@ -332,8 +332,8 @@ def __init__(
start_datetime=None,
end_datetime=None,
):
super().__init__(runnable=runnable)
self._ctx = ctx
self._runnable = runnable
self._user_gi = user_gi
self._history_id = history_id
self._log = log
Expand Down

0 comments on commit c728b26

Please sign in to comment.