Flask-restful-dbbase

Latest version: v0.4.0

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

Scan your dependencies

Page 4 of 4

0.1.7

Added
* Added a modification to the handling of ModelResource.serial_fields to enable a dictionary of a foreign class and serial fields to be returned when replacing the current Model class with another on responses.
* Added Parent/Child processing in POST. This enables the creation of child records as part of the commit process of a parent.
* Added an example program creating an invoice with invoice line items at the same time.

Changed
* Corrected approach for default URLs for meta resources. Now the generation of the default URL stems from the root of the model resource.

For example, if the model resource URL is:


/products


then the meta resources URLs will be


/meta/products/single
/meta/products/collection


However if the prefix for products is changed to


/api/v1/products


then the meta resources URLs will be


/api/v1/meta/products/single or
/api/v1/meta/products/collection

0.1.6

Added
* Added more tests on resources - coverage is now 98%
* Added more sections to documentation of resources

Changed
* Changed default URLs. Added pluralizer for default URLs. Now a model `Book` will default to a URL of `/books`
* Tightened up processing on process_{method}_input functions to a more standardized with more complete documentation.

0.1.5

Changed
* Corrected the project location with hyphens instead of underlines
* Corrected typo in the setup description

0.1.1

Added
* Added ModelResource for datacentric methods that are not collections.
* Added tests using unittest and pytest.

0.1.0

Added
- Initial public release

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.