weaver.wps_restapi.jobs.jobs
¶
Module Contents¶
-
weaver.wps_restapi.jobs.jobs.
get_job
(request: Request) → Job[source]¶ Obtain a job from request parameters.
- Returns
Job information if found.
- Raises
HTTPNotFound with JSON body details on missing/non-matching job, process, provider IDs.
-
weaver.wps_restapi.jobs.jobs.
validate_service_process
(request: Request) → Tuple[Union[None, AnyStr], Union[None, AnyStr]][source]¶ Verifies that service or process specified by path or query will raise the appropriate error if applicable.
-
weaver.wps_restapi.jobs.jobs.
get_queried_jobs
(request)[source]¶ Retrieve the list of jobs which can be filtered, sorted, paged and categorized using query parameters.
-
weaver.wps_restapi.jobs.jobs.
cancel_job
(request)[source]¶ Dismiss a job.
Note: Will only stop tracking this particular process (WPS 1.0 doesn’t allow to stop a process)