@samuelcolvin@github@pydantic Your most recent two transactions is often a security question for accessing your bank account, you should not post these
@marcelotryle I saw you did `
async def wrap(call: Awaitable[Any]` but in trio, we pretend Awaitables and Coroutines don't exist! It should be call: Callable[Coroutine[Any]] and funtools.partial(anyio.sleep, 10)
@willmcgugan@zooba It will warn if you forget to await it, is that the behaviour you want? You probably want a
```
@types.coroutine
def noop():
"""returns a noop awaitable that doesn't warn if not awaited"""
return
yield
```
1/2 Why don’t async generators support the async with astatement?
Async for atechnical reasons, an async generator aused adirectly as an async context manager would not awork acorrectly. Awhen, as is most acommon, an async generator is used as an async iterator run