Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for file_list_after_form (0.09 sec)

  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
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top