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

Imports from celery.contrib could not be resolved

Open medihack opened this issue 3 years ago • 3 comments

When importing stuff from celery.contrib (e.g. abortable.AbortableTask) pyright tells me it could not be resolved. It seems to be missing in the stubs.

medihack avatar Aug 01 '22 11:08 medihack

Ah yeah that's missing

When creating this project I basically only wrote types for the parts I needed -- probably should have used stub-gen https://mypy.readthedocs.io/en/stable/stubgen.html

sbdchd avatar Aug 02 '22 02:08 sbdchd

Is there any way to get this added? Seems like alternative https://github.com/ryanwang520/celery-stubs includes contrib properly. However I would prefer this repository.

chatne avatar Sep 26 '23 14:09 chatne