Skip to content

Commit 45a8744

Browse files
committed
move parameters argument to preserve original signature order
1 parent 5f00fd1 commit 45a8744

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bioblend/galaxy/workflows/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ def invoke_workflow(
313313
workflow_id: str,
314314
inputs: Optional[dict] = None,
315315
params: Optional[dict] = None,
316-
parameters: Optional[dict] = None,
317316
history_id: Optional[str] = None,
318317
history_name: Optional[str] = None,
319318
import_inputs_to_history: bool = False,
@@ -324,6 +323,7 @@ def invoke_workflow(
324323
require_exact_tool_versions: bool = True,
325324
version: Optional[int] = None,
326325
use_cached_job: bool = False,
326+
parameters: Optional[dict] = None,
327327
instance: bool = False,
328328
resource_params: Optional[dict[str, Any]] = None,
329329
preferred_object_store_id: Optional[str] = None,
@@ -359,10 +359,6 @@ def invoke_workflow(
359359
:param params: A mapping of non-datasets tool parameters (see below)
360360
A synonym to the "parameters" dict below. Both cannot be provided.
361361
362-
:type parameters: dict
363-
:param parameters: A mapping of non-datasets tool parameters (see below)
364-
A synonym to the "params" dict above. Both cannot be provided.
365-
366362
:type history_id: str
367363
:param history_id: The encoded history ID where to store the workflow
368364
output. Alternatively, ``history_name`` may be specified to create a
@@ -412,6 +408,10 @@ def invoke_workflow(
412408
:param use_cached_job: Whether to use cached jobs for the workflow
413409
invocation.
414410
411+
:type parameters: dict
412+
:param parameters: A mapping of non-datasets tool parameters (see below)
413+
A synonym to the "params" dict above. Both cannot be provided.
414+
415415
:type instance: bool
416416
:param instance: treat ``workflow_id`` as a Workflow ID if True,
417417
otherwise treat it as a StoredWorkflow ID (the default). This

0 commit comments

Comments
 (0)