Michael van Elk
Michael van Elk
I ran into this as well, I found that yielding inside the `request.form()` context instead of returning after it in the `fastui_form` function fixes it: ```python def fastui_form(model: _t.Type[FormModel]) ->...
Glad to hear the contribution is appreciated! I'd love to fix the tests and add more, but looking deeper into the issue I am not sure my fix is the...
Thanks for the guidance! I've added the `@asynccontextmanager`, updated the syntax of the tests to use `async with`, updated the `FakeRequest` to close files after yielding, added `assert not {filehandler}.closed`...