
As a pre-requisite for being able to query the database for objects that are expired, I need a way to express date comparison on the 'deleted_at' field which is common for every Watcher object. As they are coming from mixins, I decided to implement these filters with a syntax borrowed from the Django ORM where the field is suffixed by the comparison operator you want to apply: - The '__lt' suffix stands for 'less than' - The '__lte' suffix stands for 'less than or equal to' - The '__gt' suffix stands for 'greater than' - The '__gte' suffix stands for 'greater than or equal to' - The '__eq' suffix stands for 'equal to' I also added a 'uuid' filter to later on be able to filter by uuid. Partially Implements: blueprint db-purge-engine Change-Id: I763f330c1b8ea8395990d2276b71e87f5b3f3ddc
22 lines
672 B
Plaintext
22 lines
672 B
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
|
|
coverage>=3.6 # Apache-2.0
|
|
discover # BSD
|
|
doc8 # Apache-2.0
|
|
freezegun # Apache-2.0
|
|
hacking<0.11,>=0.10.2
|
|
mock>=1.2 # BSD
|
|
oslotest>=1.10.0 # Apache-2.0
|
|
os-testr>=0.4.1 # Apache-2.0
|
|
python-subunit>=0.0.18 # Apache-2.0/BSD
|
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
|
testscenarios>=0.4 # Apache-2.0/BSD
|
|
testtools>=1.4.0 # MIT
|
|
|
|
# Doc requirements
|
|
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
|
|
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
|
|
sphinxcontrib-pecanwsme>=0.8 # Apache-2.0
|