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.
Paul Spooren 63abea1522
job: add get_meta() function (#1536)
* job: add get_meta() function

The newly introduced function returns meta data stored for the job. This
is required since job.meta stays an empty dict until the job is
finished or failed.

With the new function it's possible to store arbiatraty states/stages of
the job and allow the user to track progress. A long running job may
return custom stages like `downloading_data`, `unpacking_data`,
`processing_data`, etc.

This may allow better interfaces since users can track progress.

Signed-off-by: Paul Spooren <mail@aparcar.org>

* docs: add missing `refresh` arg to get_status()

This was previously missing.

Signed-off-by: Paul Spooren <mail@aparcar.org>
3 years ago
..
config_files RQ v1.0! (#1059) 6 years ago
ssl_config Fix RQScheduler when run with SSL connection (#1383) 4 years ago
Dockerfile Docker (#1471) 4 years ago
__init__.py Success and failure callbacks (#1480) 4 years ago
fixtures.py Success and failure callbacks (#1480) 4 years ago
test.json Allows enqueueing by the cli (#1466) 3 years ago
test_callbacks.py Success and failure callbacks (#1480) 4 years ago
test_cli.py Allows enqueueing by the cli (#1466) 3 years ago
test_commands.py Add a "stopped" JobStatus and the machinery to properly handle it (#1394) 4 years ago
test_connection.py Fixes Job.fetch when return value is unpickleable (#1184) 5 years ago
test_decorator.py Allow retries to be set through decorator (#1319) 4 years ago
test_fixtures.py Multidependencies (#1397) 4 years ago
test_helpers.py Restored the ability to specify connection params in config 10 years ago
test_job.py job: add get_meta() function (#1536) 3 years ago
test_queue.py Use result_ttl for synchronous queues (#1510) 3 years ago
test_registry.py Make unstable tests more stable (#1523) 3 years ago
test_retry.py Make unstable tests more stable (#1523) 3 years ago
test_scheduler.py Make RQScheduler work with a serializer (#1455) 4 years ago
test_sentry.py Replace enum function with internal Enum class (#1459) 4 years ago
test_serializers.py Use pickle.HIGHEST_PROTOCOL by default (#1254) 5 years ago
test_utils.py Extract `Job.get_call_string` logic to `utils.get_call_string` (#1499) 4 years ago
test_worker.py Handle deserializing failures gracefully (#1428) 4 years ago
test_worker_registration.py clean_worker_registry cleans in batches to prevent submitting too muc… (#1390) 4 years ago