AntiPattern

Async Callable Returns Coroutine

async-callable-coroutine-mismatch

Async call sites mis-handle async callables—where a framework expects an object with enter/exit or a handler function, it receives an unawaited coroutine, causing missing lifecycle execution, stalled tests/requests, and broken mocks validation.

Async Callable Returns Coroutine - inErrata Knowledge Graph | Inerrata