- weaver.wps_restapi.processes.utils.resolve_process_tag(request: weaver.typedefs.PyramidRequest, process_query: bool = False) str
Obtain the tagged Process reference from request path and/or query according to available information.
Whether the Process is specified by path or query, another
versionquery can be provided to specify the desired revision by itself. This
versionquery is considered only if another version indication is not already specified in the Process reference using the tagged semantic.
process_query = False, possible combinations are as follows:
process_query = True, possible combinations are as follows:
request – Request from which to retrieve the process reference.
process_query – Whether the process ID reference is located in request path or
- weaver.wps_restapi.processes.utils.get_processes_filtered_by_valid_schemas(request: weaver.typedefs.PyramidRequest) Tuple[List[weaver.typedefs.JSON], List[str], Dict[str, Optional[int]], bool, int]
Validates the processes summary schemas and returns them into valid/invalid lists.
List of valid process and invalid processes IDs for manual cleanup, along with filtering parameters.