Mateusz Nowak
Mateusz Nowak
@kalmastenitin As you can see in the spec example: https://swagger.io/specification/#path-item-object besides `200` there is the option to specify the `default`. If I will rephrase the question here, it will be:...
@MarkusSintonen Thanks for the answer. I am glad that someone else is also seeing this as a potential bug. I will try to propose a fix for this.
> Any update on this issue? Currently using the workaround with `response_model=None` Issue/discussion is closed. I don't know if anyone will merge/review the problem again :(
@tiangolo thanks, it helped :) Although I think this is not cool if there is an error or not depending on if you will add `from __future__ import annotations` or...
Hi, For Fast API this works for me, when client is disconnected: ```python @router.websocket("/tst") async def tst(websocket: WebSocket) -> None: async def send_data(): while websocket.client_state == WebSocketState.CONNECTED: await websocket.send_text("hi") await...
I restored my old branch from which I created the original PR https://github.com/python/cpython/pull/109113. There is one file missing about NEWS, I am not sure if that was removed on purpose...
> Seems good to me, since these methods are now documented would it make sense to have a test case? Why not, it will not hurt. I will add it.
> @matiuszka do you plan to add the test cases soon? I would love to see this PR merged. Sorry, I forgot about this issue. I will be available next...
@sethmlarson, @felixfontein I tried to write tests for it but I am not sure how to start. There are no tests for the SSL module, so there is nothing that...
Oh, I overlooked that file. I think I can figure this out from the already-created tests.