hpcflow.app.ActionRule#

class hpcflow.app.ActionRule(check_exists=None, check_missing=None, rule=None)#

Bases: ActionRule

Class to represent a rule/condition that must be True if an action is to be included.

Methods

from_json_like

to_dict

to_json_like

Attributes

app

check_exists

check_missing

rule

Parameters:
  • check_exists (str | None) –

  • check_missing (str | None) –

  • rule (Rule | None) –

app = BaseApp(name='hpcflow', version='0.2.0a41')#
check_exists: str | None = None#
check_missing: str | None = None#
classmethod from_json_like(json_like, shared_data=None)#
Parameters:
  • json_like (Union[Dict, List]) –

  • shared_data (Optional[Dict[str, ObjectList]]) –

rule: Rule | None = None#
to_dict()#
to_json_like(dct=None, shared_data=None, exclude=None, path=None)#