maxupp

Results 3 comments of maxupp

Apparently this hasn't made it into the asyncio server yet? I'm trying to implement an elegant exchange of session information. A client can optionally send a session_id as a header,...

I found a really stupid way to accomplish this by abusing the yield mechanism in pytest-asyncio: ``` @pytest.fixture async def server(): ... dispatcher = Dispatcher(engine_config, dialog_history_manager, logger) async with websockets.serve(dispatcher.start,...