Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for file_list_after_form (0.07 seconds)

  1. tests/test_file_and_form_order_issue_9116.py

    @app.post("/file_list_before_form")
    def file_list_before_form(
        files: Annotated[list[bytes], File()],
        city: Annotated[str, Form()],
    ):
        return {"file_contents": files, "city": city}
    
    
    @app.post("/file_list_after_form")
    def file_list_after_form(
        city: Annotated[str, Form()],
        files: Annotated[list[bytes], File()],
    ):
        return {"file_contents": files, "city": city}
    
    
    client = TestClient(app)
    
    
    @pytest.fixture
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top