Sanic-restful

Latest version: v0.0.9

Safety actively analyzes 630052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.2.6

-------------

Released November 18, 2013

- blueprint support
- CORS support
- allow custom unauthorized response
- when failing to marshal custom indexable objects, its attributes are checked
- better error messages

0.2.5

-------------

Released Aug 6, 2013

- add callable location
- allow field type Fixed to take an attribute argument
- added url_for() wrapper as Api.url_for(resource)

0.2.4

-------------

Released Aug 5, 2013

- Python 3.3 support.
- You can now marshal nested fields.
- Small fixes in docs.

0.2.2

-------------

Released on May 5, 2013

- JSON will be pretty-printed if you're running your app in debug mode.
- pycrypto is now an optional dependency.

0.2.1

-------------

Released on April 9, 2013

- Use the default Flask-RESTful error handler, instead of the default Flask
error handler, to handle 405 Not Allowed errors on requests to Api endpoints.

0.2.0

-------------

Released on April 9, 2013

- Flask-RESTful will no longer clobber your app's error handler; it will only
handle errors that occur while handling Flask-RESTful routes. The breaking
change is that 404 errors will default to using the Flask text/html error
handler. Override this behavior by passing `catch_all_404s=True` to the `Api`
constructor. (via [yaniv-aknin]( /yaniv-aknin ))
- Arguments can now take `location` as a tuple, in case you want to
specify that an argument could be passed in multiple places. (via
[mindflayer](/mindflayer))
- Fixes a problem where passing an empty post body to a resource that expected
a json argument would throw a 500.
- Creation of the `Api` and initialization of the Flask `app` are no longer
bundled together. (via [andrew-d](/andrew-d))
- `marshal_with` now works with responses that are tuples. (via
[noise](/noise))
- `types.url` will no longer throw a ascii decoding ValueError if you pass it
Unicode characters

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.