Back to Intellij Community

PyAsyncCallInspection

python/python-psi-impl/resources/inspectionDescriptions/PyAsyncCallInspection.html

2025.3-rc-2269 B
Original Source

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()