[Pywps-dev] Change Format class according to WPS 1.0 Format data structure

Calin Ciociu calin.ciociu at gmail.com
Mon Mar 2 05:16:57 PST 2015


Hello everyone,

I have been looking at the Format class in app.py which seemed quite simple.
ComplexOutput class in app.py is actually containing the mime type, 
encoding and schema and also a list with Format objects.

So I've been wondering if it wouldn't be better to take the mime type, 
encoding and schema and put those inside Format class.
According to Table 23 of WPS 1.0 the Format data structure is containing 
these 3 parameters.

Something else I am not sure about is the FormatBase class in inout.py.
Was this written so Format class would inherit from FormatBase?
I could move the whole getter and setter of these parameters to 
FormatBase instead then.


Best regards,

Calin


More information about the pywps-dev mailing list