Open
Description
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:
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",
]
Metadata
Metadata
Assignees
Labels
No labels