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
..
connections.md fix code tag in connections.md (#1189) 5 years ago
exceptions.md Job retry feature. Docs WIP (#1299) 4 years ago
index.md Allows enqueueing by the cli (#1466) 3 years ago
job_registries.md Fix typos in job_registries.md (#1185) 5 years ago
jobs.md job: add get_meta() function (#1536) 3 years ago
monitoring.md Minor doc fix 4 years ago
results.md Updated leftover references to FailedQueue 6 years ago
scheduling.md Remove alpha warning from scheduler docs 4 years ago
testing.md fix code tag in connections.md (#1189) 5 years ago
workers.md Success and failure callbacks (#1480) 4 years ago