hpcflow.app.TaskSchema#
- class hpcflow.app.TaskSchema(objective, actions, method=None, implementation=None, inputs=None, outputs=None, version=None, _hash_value=None)#
Bases:
TaskSchema
Methods
Get a config-loaded task schema from a key.
Find if/where a given parameter is used by the schema's actions.
Attributes
- Parameters:
objective (TaskObjective | str) –
method (str | None) –
implementation (str | None) –
inputs (List[Parameter | SchemaInput] | None) –
outputs (List[Parameter | SchemaOutput] | None) –
version (str | None) –
_hash_value (str | None) –
- app = BaseApp(name='hpcFlow', version='0.2.0a54')#
- classmethod from_json_like(json_like, shared_data=None)#
- Parameters:
json_like (Union[Dict, List]) –
shared_data (Optional[Dict[str, ObjectList]]) –
- classmethod get_by_key(key)#
Get a config-loaded task schema from a key.
- get_key()#
- get_parameter_dependence(parameter)#
Find if/where a given parameter is used by the schema’s actions.
- Parameters:
parameter (SchemaParameter) –
- classmethod ignore_invalid_actions()#
- property input_types#
- make_persistent(workflow, source)#
- property name#
- property output_types#
- property provides_parameters#
- property task_template#
- to_dict()#
- to_json_like(dct=None, shared_data=None, exclude=None, path=None)#