weaver.processes.wps3_process
¶
Module Contents¶
-
class
weaver.processes.wps3_process.
Wps3Process
(step_payload: weaver.typedefs.JSON, joborder: weaver.typedefs.JSON, process: str, request: pywps.app.WPSRequest, update_status: weaver.typedefs.UpdateStatusPartialFunction)[source]¶ Common interface for WpsProcess to be used in
CWL
jobs.-
is_visible
(self: Ellipsis) → Union[bool, None][source]¶ Gets the process visibility.
- Returns
True/False correspondingly for public/private if visibility is retrievable, False if authorized access but process cannot be found, None if forbidden access.
-
execute
(self, workflow_inputs, out_dir, expected_outputs)[source]¶ Execute a remote process using the given inputs.
The function is expected to monitor the process and update the status. Retrieve the expected outputs and store them in the
out_dir
.- Parameters
workflow_inputs – CWL job dict
out_dir – directory where the outputs must be written
expected_outputs – expected value outputs as {‘id’: ‘value’}
-