Flask-restful-dbbase

Latest version: v0.4.0

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

Scan your dependencies

Page 1 of 4

0.4.0

Changed
* Added richer set of filtering in model collections.
* Refactored process_{method}_input validation. Such functions must now output a dictionary with for cleaner validations.

* Added Python version specifications through Python 3.10.
* Dropped support of Python 3.6

0.3.6

Changed
* Added Python version specifications through Python 3.9.
* Changed logging to stem from Flask.current_app.

0.3.5

Changed
* Specified a version restriction for SQLAlchemy to be lower than 1.4. Converted config :memory: to sqlite:///:memory:.

0.3.4

Changed
* Added tests for null values in functions in dbbase_resource that verify value types.

0.3.3

Changed
* Changed screen_data function in DBBaseResource to remove additional extraneous data.

0.3.2

Changed
* Removed super from CollectionModelResource.
* Added `query_string` for multiple values. Axios, for example, uses a notation such as `('statusId[]', '0'), ('statusId[]`. To accommodate that the query string looks for variables ending with `[]` and converts a query to search for values in a list.

An example of the following styles for query strings with arrays are now supported:


statusId[]=1&statusId[]=2&owner_id=1
statusId=[1,2]&owner_id=1
statusId=1&statusId=2&owner_id=1
statusId=1,2&owner_id=1&debug=false

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.