Velociwrapper

Latest version: v2.1.0

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

Scan your dependencies

Page 1 of 9

2.1.0

- Fixed relationship circular imports
- added a VWIdentity class for identifying models (used internally by relationship)
- fix for improper .isnumeric() check against python2 strings.
- create_es_type() returns a more precise Integer() or Float() instead of Number()
if the string value represents a number
- cleaned up syntax in relationship()
- Cleaned up README, fixed some typos and added documentation for newer features
- Python3 support (finally)
- Removed references to unicode()
- Fixed references to long()
- Fixed metaclass syntax
- Added __bool__ for Python3 as an alias of __non_zero__

2.0.18

- Updated search() to use qdsl.query_string
- Updated code format to be more consistent
- VWBase.collection() now recursively finds VWCollection subclasses
- Mapper.get_sublcasses() now recursively finds subclasses
- Fixed an issue where datetimes were being truncated to dates

2.0.17

- Support for date and datetime objects in filter contexts
- Prevent attributes that default to list or dict from being set to None
- Attributes explicitly set to None or False will now work!
- Fixed bulk commit from search (failing due to a bad comparison)
- Fixed is_attribute() always returning False on es_types.Array

2.0.16

- range() conditions (gte, gt, lte, lt) will now convert date and datetime objects
to the appropriate string

2.0.15

- filter_by(ids=list) now raises a ValueError if the list of ids is empty

2.0.14

- Fixed crash when calling get_in() or filter_by(ids=list) when the list
contained `None` values

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.