- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for file_before_form (0.05 sec)
-
tests/test_file_and_form_order_issue_9116.py
""" from pathlib import Path from typing import Annotated import pytest from fastapi import FastAPI, File, Form from fastapi.testclient import TestClient app = FastAPI() @app.post("/file_before_form") def file_before_form( file: bytes = File(), city: str = Form(), ): return {"file_content": file, "city": city} @app.post("/file_after_form") def file_after_form( city: str = 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)