Derived from the Pylint linter.
What it does#
Checks for uses of
yield from in async functions.
Why is this bad?#
Python doesn't support the use of
yield from in async functions, and will
SyntaxError in such cases.
Instead, considering refactoring the code to use an
async for loop instead.