Inspectopedia Help

Missing `await` syntax in coroutine calls

Reports coroutines that were called without using the await syntax.

Example:

async def bar(): pass async def foo(): bar()

After the quick-fix is applied, the code changes to:

async def bar(): pass async def foo(): await bar()

Inspection Details

Available in:

DataSpell 2023.3, PyCharm 2023.3

Plugin:

Python Community Edition, 233.SNAPSHOT

Last modified: 13 July 2023