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.
Selwin Ong 0691b4d46e
Multiple results using Redis Streams (#1725)
* WIP job results

* Result can now be saved

* Successfully saved and restored result

* result.save() should accept pipeline

* Successful results are saved

* Failures are now saved properly too.

* Added test for Result.get_latest()

* Checkpoint

* Got Result.all() to work

* Added Result.count(), Result.delete()

* Backward compatibility for job.result and job.exc_info

* Added some typing

* More typing stuff

* Fixed typing in job.py

* More typing updates

* Only keep the last 10 results

* Documented job.results()

* Got results test to pass

* Don't run test_results.py on Redis server < 5.0

* Fixed mock import on some Python versions

* Remove Redis 3 from test matrix

* Jobs should never use the new Result implementation if server is < 5.0

* Results should only be created is Redis stream is supported.

* Added back Redis 3 to test matrix

* Fixed job.supports_redis_streams

* Fixed worker test

* Updated docs.
2 years ago
..
cli Improve the lint situation (#1688) 3 years ago
compat Improve the lint situation (#1688) 3 years ago
contrib Drop python2-specific syntax (#1674) 3 years ago
__init__.py Drop python2-specific syntax (#1674) 3 years ago
command.py Typing (#1698) 3 years ago
connections.py Typing (#1698) 3 years ago
decorators.py Typing (#1698) 3 years ago
defaults.py Success and failure callbacks (#1480) 4 years ago
dummy.py Typing (#1698) 3 years ago
exceptions.py Drop python2-specific syntax (#1674) 3 years ago
job.py Multiple results using Redis Streams (#1725) 2 years ago
local.py Drop python2-specific syntax (#1674) 3 years ago
logutils.py Drop python2-specific syntax (#1674) 3 years ago
queue.py Multiple results using Redis Streams (#1725) 2 years ago
registry.py Multiple results using Redis Streams (#1725) 2 years ago
results.py Multiple results using Redis Streams (#1725) 2 years ago
scheduler.py Typing (#1698) 3 years ago
serializers.py Typing (#1698) 3 years ago
suspension.py Typing (#1698) 3 years ago
timeouts.py Drop python2-specific syntax (#1674) 3 years ago
utils.py Multiple results using Redis Streams (#1725) 2 years ago
version.py Bump version to 1.11.1 3 years ago
worker.py Multiple results using Redis Streams (#1725) 2 years ago
worker_registration.py Typing (#1698) 3 years ago