Restible

Latest version: v0.12.1

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

Scan your dependencies

0.9

Features
--------

- restible now supports and endpoint having multiple route parameters. This
makes it possible to express composite primary keys in URL and easily create
nested API endpoints.

Changes
-------

- Now all `RestResource.*_item()` methods receive the request as their first
argument.

0.8.2

Features
--------

- From now on, you can use class attribute `.route_param` in your resource
definitions to define route param used by the resource. The format for this
attribute is a dict version of JSON schema for path parameters.

0.8.1

Features
--------

- Added `util.update_from_values` for easier implementation of the integrations
since this is a pretty common use case in API development.

0.8

Features
--------

- Added new `RestResource.implements(rest_verb)` method to check whether the
resource implements a given REST verb (create/query/get/update/delete).

Changes
-------

- Removed RestResource.get_requested() that was missed during the refactor.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.