Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imports from celery.contrib could not be resolved #86

Open
medihack opened this issue Aug 1, 2022 · 2 comments
Open

Imports from celery.contrib could not be resolved #86

medihack opened this issue Aug 1, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@medihack
Copy link

medihack commented Aug 1, 2022

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.

@sbdchd sbdchd added the bug Something isn't working label Aug 1, 2022
@sbdchd
Copy link
Owner

sbdchd commented Aug 2, 2022

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

@chatne
Copy link

chatne commented Sep 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants