# TypeError: An asyncio.Future, a coroutine or an awaitable is required

- **ID:** `python/asyncio-gather-return-exceptions`
- **Domain:** python
- **Category:** type_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Passing non-awaitable objects (e.g., a list of results) to asyncio.gather() or asyncio.wait()

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.7 | active | — | — |
| 3.8 | active | — | — |
| 3.9 | active | — | — |

## Workarounds

1. **** (100% success)
   ```
   await asyncio.gather(coro1(), coro2())
   ```
2. **** (95% success)
   ```
   tasks = [asyncio.create_task(coro()) for coro in coros]; await asyncio.gather(*tasks)
   ```

## Dead Ends

- **** — ensure_future() expects coroutines or futures, not plain values. (90% fail)
- **** — create_task() also requires coroutines, not arbitrary objects. (90% fail)
