geopython / geopython/pywps

Support Path objects in response object

Open
#558 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
186
Forks
117
Avg merge
11d 20h
Merged PRs (30d)
1

Description

# Description

I would like to be able to do
```python
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

- operating system:Ubuntu
- Python version:3.6.11
- PyWPS version: 4.2.2
- source/distribution
- [x] git clone
- [ ] Debian
- [ ] PyPI
- [ ] zip/tar.gz
- [ ] other (please specify):
- web server
- [ ] Apache/mod_wsgi
- [ ] CGI
- [ ] other (please specify):

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.