celery debounce without cache
Project description
Celery Debounce
Celery debounce without using cache.
How to create debounce task?
from celery_debounce.celery_debounce import DebouncedTask
@app.task(bind=True, base=DebouncedTask)
def testing_task(self, some_id):
"""
how to call task?
testing_task.debounce(some_id=1234)
"""
print("from testing_task", some_id)
How to call the task?
testing_task.debounce(some_id=1234)
With countdown (By default it's 60 seconds):
testing_task.debounce(some_id=1234, countdown=10)
======= History
0.1.0 (2022-10-21)
- First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
celery_debounce-0.2.0.tar.gz
(9.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file celery_debounce-0.2.0.tar.gz.
File metadata
- Download URL: celery_debounce-0.2.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08880757e9862bd8016991ce395b3cf9361cd92e0c67781330e26cc1fba669a1
|
|
| MD5 |
29c642f9a891e2986c532c9b6b152e48
|
|
| BLAKE2b-256 |
1a3c586e50e404dd99c84b55778374fafe970d43ea5f518bcfc0d457c4ddaf23
|
File details
Details for the file celery_debounce-0.2.0-py2.py3-none-any.whl.
File metadata
- Download URL: celery_debounce-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88ace8d5a5137e8ec97c57a81946b825ebd94c9d669f9f15e2392dc7a0816e9f
|
|
| MD5 |
5f5f3efd50a68de5f9d2d1693e624c25
|
|
| BLAKE2b-256 |
54302c9cd78a911e4442c0950132f47fca6df4f4b5398c31e7a079e495dd058b
|