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

from_json_like

get_by_key

Get a config-loaded task schema from a key.

get_key

get_parameter_dependence

Find if/where a given parameter is used by the schema's actions.

ignore_invalid_actions

make_persistent

to_dict

to_json_like

Attributes

app

input_types

name

output_types

provides_parameters

task_template

Parameters:
app = BaseApp(name='hpcflow', version='0.2.0a41')#
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)#
Parameters:
Return type:

List[int]

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)#