This produces a process description where it is hard to understand what is the expected behaviour. If an input is always required, there should not be a default. Otherwise, min_occurs=0 should be provided and it would be expected that this default is used. Right now, default serves no purpose and is counter intuitive.
I noticed in following description that this process provides a
region
input with both explicitmin_occurs=1
anddefault="DEU"
.https://github.com/bird-house/flyingpigeon/blob/9f12aa319c4f190715c22b6cdf6cacdd4290b234/flyingpigeon/processes/wps_subset_countries.py#L31-L33
This produces a process description where it is hard to understand what is the expected behaviour. If an input is always required, there should not be a
default
. Otherwise,min_occurs=0
should be provided and it would be expected that thisdefault
is used. Right now,default
serves no purpose and is counter intuitive.