rpl_wei.wei_workflow_base

Abstraction of a singular workflow. Wei client interacts with this to run workflows

Classes

WF_Client(wf_config[, wc_config, log_dir, ...])

Class for interacting with a specific workflow

class rpl_wei.wei_workflow_base.WF_Client(wf_config: Path, wc_config: Path | None = None, log_dir: Path | None = None, workflow_log_level: int = 20)

Class for interacting with a specific workflow

__init__(wf_config: Path, wc_config: Path | None = None, log_dir: Path | None = None, workflow_log_level: int = 20)

Initialize a workflow client

Parameters:

wc_config_file (Pathlike) – The workflow config path

check_flowdef()

Checks the actions provided by the workflow

check_modules()

Checks the modules required by the workflow

print_flow()

Prints the workflow dataclass, for debugging

print_workcell()

Print the workcell datacall, for debugging

run_flow(callbacks: List[Any] | None = None, payload: Dict[str, Any] | None = None) Dict[str, Any]

Executes the flowdef commmands