Darq

Latest version: v0.11.2

Safety actively analyzes 687990 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.5.0

* Add `on_job_prepublish(metadata, arq_function, args, kwargs)` callback. `metadata` is mutable dict, which will be available at `ctx['metadata']`.

0.4.0

* Add `default_job_expires` param to Darq (if the job still hasn't started after this duration, do not run it). Default - 1 day
* Add `expires` param to `task` (if set - overwrites `default_job_expires`)

0.3.1

Rewrite warm shutdown: now during warm shutdown cron is disabled, on second signal the warm shutdown will be canceled

0.3.0

* **Breaking change**: `on_job_prerun` and `on_job_postrun` now accepts `arq.worker.Function` instead of the original function (it can still be accessed at `arq_function.coroutine`)

0.2.1

* Fix `add_cron_jobs` method. Tests added.

0.2.0

* Add `on_job_prerun(ctx, function, args, kwargs)` and `on_job_postrun(ctx, function, args, kwargs, result)` callbacks.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.