We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Once #699 is fixed, we will still have some typing issues because __init__.py is not defining __all__ or reexporting the members. See https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-implicit-reexport for more details.
__init__.py
__all__
Without this, mypy produces the following error:
error: Module "django_rq" does not explicitly export attribute "get_queue" [attr-defined]
This can be solved by just adding to __init__.py the following code:
__all__ = [ "enqueue", "get_connection", "get_queue", "get_scheduler" "get_worker", "job", "VERSION", ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Once #699 is fixed, we will still have some typing issues because
__init__.py
is not defining__all__
or reexporting the members. See https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-implicit-reexport for more details.Without this, mypy produces the following error:
This can be solved by just adding to
__init__.py
the following code:The text was updated successfully, but these errors were encountered: