Datasiphon

Latest version: v0.3.10

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

Scan your dependencies

Page 3 of 4

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

0.2.1

- Added advanced tests and logging

0.2.0

- Removed support for `ignore_extra_fields` and `strict` options in `sql.SQL.build` method
- added feature for infinite nesting - using `junctions` - AND/OR operators for sql queries - allowing advanced filtering and grouped clauses
- refactored validation of filter structure and columns, and restriction models
- added base class which has to be used when creating custom restriction models

0.1.3

- added option `strict` kwarg (defaults to `True`) to `sql.SQL.build` method to ignore fields in filter that don't correspond to expected `FORMAT` - does not apply to `ignore_extra_fields` option
- method `sql.SQL.validate_filter_structure` now instead of 'only validating' returns `dict` of processed filter items (because of `strict` option)

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.