Skip to content

Commit

Permalink
Merge branch 'master' into split-api-py
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Mar 28, 2024
2 parents 38fdd57 + 2abb943 commit a0dce49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/data-publishing/ogcapi-processes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,13 @@ Processing examples
-H "Prefer: respond-async"
-d "{\"inputs\":{\"name\": \"hi there2\"}}"
# execute a job for the ``hello-world`` process with a success subscriber
# execute a job for the ``hello-world`` process with a success subscriber
curl -X POST http://localhost:5000/processes/hello-world/execution \
-H "Content-Type: application/json" \
-d "{\"inputs\":{\"name\": \"hi there2\"}, \
\"subscriber\": {\"successUri\": \"https://www.example.com/success\"}}"
.. _`OGC API - Processes`: https://ogcapi.ogc.org/processes
.. _`sample`: https://github.com/geopython/pygeoapi/blob/master/pygeoapi/process/hello_world.py
.. _`TinyDB`: https://tinydb.readthedocs.io/en/latest
2 changes: 2 additions & 0 deletions pygeoapi/process/manager/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ def _execute_handler_sync(self, p: BaseProcessor, job_id: str,
self.update_job(job_id, job_metadata)
self._send_failed_notification(subscriber)

self._send_failed_notification(subscriber)

return jfmt, outputs, current_status

def execute_process(
Expand Down

0 comments on commit a0dce49

Please sign in to comment.