weaver.wps_restapi.processes.utils
Module Contents
- weaver.wps_restapi.processes.utils.get_processes_filtered_by_valid_schemas(request: pyramid.request.Request) Tuple[List[weaver.typedefs.JSON], List[str], Dict[str, Optional[int]], bool, int] [source]
Validates the processes summary schemas and returns them into valid/invalid lists.
- Returns
List of valid process and invalid processes IDs for manual cleanup, along with filtering parameters.
- weaver.wps_restapi.processes.utils.get_process_list_links(request: pyramid.request.Request, paging: Dict[str, int], total: Optional[int], provider: Optional[weaver.datatype.Service] = None) List[weaver.typedefs.JSON] [source]
Obtains a list of all relevant links for the corresponding Process listing defined by query parameters.
- Raises
IndexError – if the paging values are out of bounds compared to available total Process.