forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
144 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
from typing import ( | ||
Any, | ||
Dict, | ||
) | ||
|
||
from typing_extensions import Literal | ||
|
||
# Tool state goes through several different walk throughs that are difficult to follow I think, | ||
# hopefully datatypes can be used as markers to describe what has been done - even if they don't | ||
# provide strong traditional typing semantics. | ||
|
||
# Input dictionary from the API, may include map/reduce instructions. Objects are referenced by "src" | ||
# dictionaries and encoded IDS. | ||
ToolRequestT = Dict[str, Any] | ||
|
||
# Input dictionary extracted from a tool request for running a tool individually as a single job. Objects are referenced | ||
# by "src" dictionaries with encoded IDs still but batch instructions have been pulled out. Parameters have not | ||
# been "checked" (check_param has not been called). | ||
ToolStateJobInstanceT = Dict[str, Any] | ||
|
||
# Input dictionary for an individual job where objects are their model objects and parameters have been | ||
# "checked" (check_param has been called). | ||
ToolStateJobInstancePopulatedT = Dict[str, Any] | ||
|
||
# A dictionary of error messages that occur while attempting to validate a ToolStateJobInstanceT and transform it | ||
# into a ToolStateJobInstancePopulatedT with model objects populated. Tool errors indicate the job should not be | ||
# further processed. | ||
ParameterValidationErrorsT = Dict[str, str] | ||
|
||
InputFormatT = Literal["legacy", "21.01"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.