Return early from concurrency() and rate_limit() without limit names
Merged
AB
2y ago+125+125+012345678901234567890123456789-0-0-0123456789
If a user calls concurrency() or rate_limit() and passes a None value or an empty collection, return early to avoid making unnecessary API requests.
Fixes #14786
Checklist
- This pull request references any related issue by including "closes
<link to issue>"- If no issue exists and your change is not a small fix, please create an issue first.
- If this pull request adds new functionality, it includes unit tests that cover the changes
- If this pull request removes docs files, it includes redirect settings in
mint.json. - If this pull request adds functions or classes, it includes helpful docstrings.