celery-types
celery-types copied to clipboard
Thank you 🙂
https://github.com/sbdchd/celery-types/blob/e1750be8b706ff2bc3f7471d0ed0e5f53272af7d/typings/celery/app/init.pyi#L13
The args in this function declaration helped me catch an issue. I was using:
@celery.shared_task(
exponential_backoff = 5
)
def some_func(...):
I thought exponential_backoff
was a celery decorator param... turns out it's not! This python package is very helpful because now my type linter caught that issue. Thanks!
I totally agree with the sentiment here. This library is of great help, and the author is very responsive to bug reports.