Browse Source

🎨 Tweak types

pull/14168/head
Sebastián Ramírez 9 months ago
parent
commit
79e0375398
  1. 4
      tests/test_compat_params_v1.py

4
tests/test_compat_params_v1.py

@ -1,4 +1,4 @@
from typing import Optional
from typing import List, Optional
import pytest
from fastapi import FastAPI
@ -99,7 +99,7 @@ def upload_file(
@app.post("/upload-multiple/")
def upload_multiple_files(
files: Annotated[list[bytes], File()],
files: Annotated[List[bytes], File()],
note: Annotated[str, Form()] = "",
):
return {

Loading…
Cancel
Save