Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for file_list_before_form (0.06 sec)

  1. tests/test_file_and_form_order_issue_9116.py

    
    @app.post("/file_after_form")
    def file_after_form(
        city: str = Form(),
        file: bytes = File(),
    ):
        return {"file_content": file, "city": city}
    
    
    @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")
    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