geopython / pywps

PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python.
https://pywps.org
MIT License
177 stars 117 forks source link

Support Path objects in response object #558

Open huard opened 3 years ago

huard commented 3 years ago

Description

I would like to be able to do

from pathlib import Path
...
response.outputs["output_identifier"].file = Path(...)

in Process._handler. At the moment I need to convert Path objects to strings, otherwise an error is raised.

Environment