tracdap.rt.metadata.job
¶
Module Contents¶
Classes¶
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
- class tracdap.rt.metadata.job.ImportModelJob¶
- entryPoint¶
entryPoint
- Type:
str
- language¶
language
- Type:
str
- package¶
package
- Type:
str
- packageGroup¶
packageGroup
- Type:
Optional[str]
- path¶
path
- Type:
str
- repository¶
repository
- Type:
str
- version¶
version
- Type:
str
- class tracdap.rt.metadata.job.JobDefinition¶
- importModel¶
importModel
- Type:
Optional[ImportModelJob]
- runFlow¶
runFlow
- Type:
Optional[RunFlowJob]
- runModel¶
runModel
- Type:
Optional[RunModelJob]
- class tracdap.rt.metadata.job.JobStatusCode(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- CANCELLED = (10,)¶
- FAILED = (9,)¶
- FINISHING = (7,)¶
- JOB_STATUS_CODE_NOT_SET = (0,)¶
- PENDING = (3,)¶
- PREPARING = (1,)¶
- QUEUED = (4,)¶
- RUNNING = (6,)¶
- SUBMITTED = (5,)¶
- SUCCEEDED = (8,)¶
- VALIDATED = (2,)¶
- class tracdap.rt.metadata.job.JobType(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- IMPORT_DATA = (4,)¶
- IMPORT_MODEL = (3,)¶
- JOB_TYPE_NOT_SET = (0,)¶
- RUN_FLOW = (2,)¶
- RUN_MODEL = (1,)¶
- class tracdap.rt.metadata.job.RunFlowJob¶
- flow¶
flow
- Type:
- inputs¶
inputs
- Type:
Dict[str, TagSelector]
- models¶
models
- Type:
Dict[str, TagSelector]
- outputs¶
outputs
- Type:
Dict[str, TagSelector]
- priorOutputs¶
priorOutputs
- Type:
Dict[str, TagSelector]
- class tracdap.rt.metadata.job.RunModelJob¶
- inputs¶
inputs
- Type:
Dict[str, TagSelector]
- model¶
model
- Type:
- outputs¶
outputs
- Type:
Dict[str, TagSelector]
- priorOutputs¶
priorOutputs
- Type:
Dict[str, TagSelector]