celery-types icon indicating copy to clipboard operation
celery-types copied to clipboard

Thank you 🙂

Open joeriddles opened this issue 3 years ago • 1 comments

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!

joeriddles avatar Oct 19 '21 22:10 joeriddles

I totally agree with the sentiment here. This library is of great help, and the author is very responsive to bug reports.

jeking3 avatar Nov 06 '21 20:11 jeking3