-
-
Notifications
You must be signed in to change notification settings - Fork 348
Open
Description
Assuming you only intend to use one of the two rate limit backends, loading it causes an import warning for the other one:
from dramatiq.rate_limits.backends import RedisBackend
ImportWarning: MemcachedBackend is not available. Run `pip install dramatiq[memcached]` to add support for that backend.This is noisy/annoying. Ideally the approach for the result backends could be duplicated here:
- raised in Warnings emitted for unused result backend #421
- addressed in fix: Avoid warning on missing dependencies when those dependencies are used. #506
If you are fine with the concept, but don't have time at the moment, I can put together a PR.
Metadata
Metadata
Assignees
Labels
No labels