celery-debounce-0.2.1
توضیحات
celery debounce without cache
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | celery-debounce-0.2.1 |
| نام | celery-debounce |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Concular GmbH |
| ایمیل نویسنده | amit@concular.com |
| آدرس صفحه اصلی | https://github.com/Concular/celery_debounce |
| آدرس اینترنتی | https://pypi.org/project/celery-debounce/ |
| مجوز | - |
# 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.
نیازمندی
| مقدار | نام |
|---|---|
| >=7.0 | Click |
| ==5.2.7 | celery |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl celery-debounce-0.2.1:
pip install celery-debounce-0.2.1.whl
نصب پکیج tar.gz celery-debounce-0.2.1:
pip install celery-debounce-0.2.1.tar.gz