Datasiphon

Latest version: v0.3.4

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

Scan your dependencies

Page 2 of 4

0.2.8

- substitutions for reconstructing filter are now in class and are accepted as list of `Substitution` objects
- unused substitutions are now added to filters

0.2.6

- added option to `PaginationBuilder` to provide `removals` as for removing fields from filter

0.2.5

- removed operations as methods from `QueryBuilder` class
and rewritten them as separate classes for more flexibility and easier extension
- implemented `Paginationbuilder` class for rebuilding filter from query providing filter which can be adjusted

0.2.4

- added helper method in `sql.SQL` backend - `is_query_paginable` - to check if query is paginable (for pointer based pagination) - based on selected columns

0.2.3

- Added support for parsing `datetime` and `date` objects in `sql.SQL` backend from `str` format (assuming iso-format of string)
- New class `FilterTypeParser` added to `sql.SQL` backend to return constructor for given type (e.g. `datetime`, `date`, `int`, `float`, `str`, `bool`) - now able to parse `datetime` and `date` objects from `str` format

0.2.2

- Validation changes: now instead of checking whether value in filter is of instance `column.type.python_type`, it uses the given `python_type` constructor to check if the value is processable by the given type
- Operations now apply the `python_type` constructor to the value before applying the operation

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.