Async method called without await or outside event loop
warningconfigurationUpdated Mar 25, 2026
Technologies:
How to detect:
Async client methods return Coroutine objects that must be awaited within an async function running in an asyncio event loop. Calling async methods without await or in a synchronous context results in runtime errors or unevaluated coroutines.
Recommended action:
Ensure all async methods are awaited (use 'await' keyword) and called within async functions. Run async functions using 'asyncio.run(my_async_function)' or manually with an event loop. Use IDE code completion or help() to identify which methods are async.