You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dominik Aumayr 2faba2cea9
Add __all__ to please mypy (#1928)
* Add __all__ to please mypy

mypy complains with "implicit reexport disabled" when importing directly from the main `rq` package, eg.

from rq import Worker

Without adding an `__all__` to `__init__.py`, mypy would expect it this way:

from rq.worker import Worker

This PR does add the `__all__` to `__init__.py` to please mypy.

* Lint
2 years ago
..
cli Update cli.py to support custom loggers (#1906) 2 years ago
contrib Update linting configuration (#1915) 2 years ago
__init__.py Add __all__ to please mypy (#1928) 2 years ago
command.py Update linting configuration (#1915) 2 years ago
connections.py Update linting configuration (#1915) 2 years ago
decorators.py callback func as string (#1905) 2 years ago
defaults.py Document_stopped_jobs and dependents for enqueue_many (#1922) 2 years ago
dependency.py Add support for dependent jobs in enqueue_many (#1897) 2 years ago
exceptions.py Add failure callback call to started job registry cleanup (#1824) 2 years ago
job.py callback func as string (#1905) 2 years ago
local.py Update linting configuration (#1915) 2 years ago
logutils.py Update linting configuration (#1915) 2 years ago
maintenance.py Reliable queue (#1911) 2 years ago
py.typed Add py.typed for PEP561 compliance (#1882) 2 years ago
queue.py callback func as string (#1905) 2 years ago
registry.py Reliable queue (#1911) 2 years ago
results.py Update linting configuration (#1915) 2 years ago
scheduler.py Scheduler should release and heartbeat only acquired locks (#1914) 2 years ago
serializers.py Update linting configuration (#1915) 2 years ago
suspension.py Update linting configuration (#1915) 2 years ago
timeouts.py Worker pool (#1874) 2 years ago
types.py Job methods docstrings (#1772) 2 years ago
utils.py callback func as string (#1905) 2 years ago
version.py Bump version to v1.15 2 years ago
worker.py Fix as_text in certain conditions (#1917) 2 years ago
worker_pool.py Update linting configuration (#1915) 2 years ago
worker_registration.py Update linting configuration (#1915) 2 years ago