Lev Vereshchagin

Results 30 comments of Lev Vereshchagin

> ```python > async def iter_something() -> typing.AsyncIterable[str]: > async with asyncio.TaskGroup() as task_group: > task = task_group.create_task(print_every_second()) > yield "hi" > task.cancel() > ``` This function will exit without...

> Also, given your context is not the one the OP refers to, if you have anything to add please switch to a separated issue/discussion so we can stop bloating...

Hi, I'm no longer using llm-ui. Reopen the issue if you will have interest in working on the issue.

You are absolutely right, things should be made so they do not need to change. However this package doesn't have some things that one might want: - proper typing support...

Temporary solution is to shield `__aexit__` in entered async context manager: ```python import contextlib import sys import typing import anyio import litestar import redis.asyncio from litestar.response import ServerSentEvent AsyncContextManagerReturnType =...

BLPOP is a blocking operation. To serve to more than one request we would have to create connection-per-request.