- (Build)Require python-ordereddict on SP3
- update to 0.5b5:
* More packaging fixes.
* Allow non-default status code return with the pecan adapter
* Fix returning objects with object attributes set to None on rest-json
* Allow error details to be set on the Response object (experimental !).
* Fix: Content-Type header is not set anymore when the return type is None
on the pecan adapter.
* Use pbr instead of d2to1 (Julien Danjou).
* six >= 1.4.0 support (Julien Danjou).
OBS-URL: https://build.opensuse.org/request/show/199644
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=8
- update to 0.5b2:
* Changed the way datas of complex types are stored. In previous
versions, an attribute was added to the type for each attribute,
its name being the attribute name prefixed with ‘_’.
Starting with this version, a single attribute _wsme_dataholder
is added to the instance.
* Add a special type ‘HostRequest’ that allow a function to
ask for the host framework request object in its arguments.
* Pecan adapter: Debug mode (which returns the exception
tracebacks to the client) can be enabled by the pecan
application configuration.
* Fix: the cornice adapter was not usable.
* Fix: Submodules of wsmeext were missing in the packages.
* Fix: The demo app was still depending on the WSME-Soap package (which has been merged into WSME in 0.5b1).
* Fix: A function with only on ‘body’ parameter would fail when being called.
* Fix: Missing arguments were poorly reported by the frameworks adapters.
OBS-URL: https://build.opensuse.org/request/show/173723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=4
+ Introduce a new kind of adapters that rely on the framework routing.
Adapters are provided for Pecan, TurboGears and cornice.
+ Reorganised the rest protocol implementation to ease the implementation
of adapters that rely only on the host framework routing system.
+ The default rest @expose decorator does not wrap the decorated function
anymore. If needed to expose a same function several times, a parameter
multiple_expose=True has been introduced.
+ Remove the wsme.release module
+ Fix == operator on ArrayType
+ Adapted the wsme.sphinxext module to work with the function exposed
by the wsme.pecan adapter.
+ Allow promotion of int to float on float attributes (Doug Hellman)
+ Add a samples_slot option to the .. autotype directive to choose where
the data samples whould be inserted
+ Add sample() to ArrayType and DictType
+ New syntax for object arrays as GET parameters, without brackets.
Ex: ?o.f1=a&o.f1=b&o.f2=c&o.f2=d is an array of two objects:
[{‘f1’: ‘a’, ‘f2’: ‘c’]}, {‘f1’: ‘b’, ‘f2’: ‘d’]}.
+ @signature (and its @wsexpose frontends) has a new parameter: ignore_extra_args.
+ Fix boolean as input type support in the soap implementation
+ Fix empty/nil strings distinction in soap
+ Improved unittests code coverage.
+ Ported the soap implementation to python 3.
+ Moved non-core features (adapters, sphinx extension) to the wsmeext module.
+ Change the GET parameter name for passing the request body as a parameter
is now from ‘body’ to ‘__body__’
+ The soap, extdirect and sqlalchemy packages have been merged into the
main package.
+ Changed the documentation theme to “Cloud”.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=2