You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christophe Olinger a6eb5d37ee Delete dependents of job explicitely (#916)
* Initial take on delete_dependents

* Add tests including corner cases

* No need to canel dependents since they are not in a queue yet anyway

* The dependents keys can be deleted in all cases

* Update tests to included saved jobs in the deletion tests

* Correctly use pipeline in cancel method

* Unused connection

* Include dependents into dict format of job

* Add TODO

* Address comments from selwin

* Delete dependents key in redis if delete_dependents is called on its own

* Address recent comments from selwin

* Small change to trigger travis

* Remove TODO referring to canceled job state

* Remove dependent_ids from to_dict

* Address recent comments from selwin
7 years ago
..
__init__.py Fixed #866 - Flak8 errors 7 years ago
dummy_settings.py Enable the most modern Python syntax. 11 years ago
dummy_settings_override.py Fixed #809 - Added tests for various cli config parameters 7 years ago
fixtures.py Fixed #866 - Flak8 errors 7 years ago
test_cli.py Fixed #809 - Added tests for various cli config parameters 7 years ago
test_connection.py Fixed #870 Improved test coverage for connections.py and utils.py 7 years ago
test_decorator.py Add meta to decorator, move depends_on + at_front to decorator (#892) 7 years ago
test_helpers.py Restored the ability to specify connection params in config 10 years ago
test_job.py Delete dependents of job explicitely (#916) 7 years ago
test_queue.py Merge pull request #878 from theodesp/Issue-731 7 years ago
test_registry.py job.delete() should cleans itself from FailedQueue and various registries. 8 years ago
test_sentry.py Fixed #866 - Flak8 errors 7 years ago
test_utils.py add milliseconds into timestamps, fix #721 7 years ago
test_worker.py Added the ability to fetch workers by queue (#911) 7 years ago
test_worker_registration.py Added the ability to fetch workers by queue (#911) 7 years ago