Redis-astra

Latest version: v2.0.0

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

Scan your dependencies

1.0.7

=================
- Auto import foreign models

1.0.4

=================
- Allow use '0' or 0 as object's pk
- defaultPk attribute for ForeignKey provide default object for not
assigned foreign object. This feature provide access to deep properties
without risk of catch AttributeError. Eg: o = user.site.owner, where site
and owner is ForeignKey to other model, but site is not set. In simple case
we're catch AttributeError: 'NoneType' object has no attribute 'owner'. But,
when site is ForeignKey(to='Site', defaultPk=0), then site always
present as 'Site' model. At the moment, you need provide your 'Site'
behavior with pk key is 0.
- Performance improvement: models using lazy initialization now

1.0.3

=================
- (!) Deprecated type: ForeignKeyHash. Link now must be ForeignKey
- Support "withscores" in zrange, zrangebyscore, zrevrange, zrevrangebyscore
methods. This methods return list of tuples

1.0.2

=================
- Minor fixes: support ttl, expire commands for scalar fields

1.0.1

=================

- List, Set and SortedSet not necessarily refer to other models
- Integer and Char fields return 0 and '' instead None if not assigned
- Enum must have default value

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.