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
..
config_files Drop python2-specific syntax (#1674) 2 years ago
ssl_config Fix RQScheduler when run with SSL connection (#1383) 4 years ago
Dockerfile Typing (#1698) 2 years ago
__init__.py Multiple results using Redis Streams (#1725) 2 years ago
fixtures.py Improve the lint situation (#1688) 2 years ago
test.json Allows enqueueing by the cli (#1466) 3 years ago
test_callbacks.py Revert "Jobs that are run synchronously should always raise an exception" (#1682) 2 years ago
test_cli.py Improve the lint situation (#1688) 2 years ago
test_commands.py Respect serializer (#1538) 3 years ago
test_connection.py Drop python2-specific syntax (#1674) 2 years ago
test_decorator.py Improve the lint situation (#1688) 2 years ago
test_dependencies.py Typing (#1698) 2 years ago
test_fixtures.py Drop python2-specific syntax (#1674) 2 years ago
test_helpers.py Restored the ability to specify connection params in config 10 years ago
test_job.py Multiple results using Redis Streams (#1725) 2 years ago
test_queue.py Improve the lint situation (#1688) 2 years ago
test_registry.py Multiple results using Redis Streams (#1725) 2 years ago
test_results.py Multiple results using Redis Streams (#1725) 2 years ago
test_retry.py Make unstable tests more stable (#1523) 3 years ago
test_scheduler.py Improve the lint situation (#1688) 2 years ago
test_sentry.py Drop python2-specific syntax (#1674) 2 years ago
test_serializers.py Drop python2-specific syntax (#1674) 2 years ago
test_timeouts.py Cross platform simple worker (#1629) 3 years ago
test_utils.py Improve the lint situation (#1688) 2 years ago
test_worker.py Multiple results using Redis Streams (#1725) 2 years ago
test_worker_registration.py Use unittest.mock instead of mock (#1673) 2 years ago