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

Remove use of mutable as default value in Process.__init__ #660

Closed gschwind closed 2 years ago

gschwind commented 2 years ago

Using mutable value as default value for input variable of function create complex bug because those value will be shared by all Process instance. Thus remove it and replace it by the safe code.

Overview

Related Issue / Discussion

Additional Information

Contribution Agreement

(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 81.378% when pulling 42dfd67c879ec58b4f8877b5a2e0f1096d3fd17e on gschwind:fix-process-init into 7839f5276ced486a8b7f83379e919fb05273b4e7 on geopython:main.