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
178 stars 117 forks source link

Not possible to set maxOccurs to unbounded #538

Open fmigneault opened 4 years ago

fmigneault commented 4 years ago

Description

WPS allows the "unbounded" string for maxOccurs parameter. This is valid for both older WPS but also for WPS-REST being worked on : https://github.com/opengeospatial/wps-rest-binding/blob/8d66413b2da8ef97ae040dc08ce2aeca88226337/core/openapi/schemas/inputDescription.yaml

Because of the int conversion in the init method, it is not possible to set the value. https://github.com/geopython/pywps/blob/61e03fe566d9a4cdf52a6b941a404916592e5aac/pywps/inout/basic.py#L547-L558