From 79e0375398695b80e381975b7ea1ba52c49bc2c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 9 Oct 2025 18:46:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Tweak=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_compat_params_v1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_compat_params_v1.py b/tests/test_compat_params_v1.py index 9877c3130..6b055d2c2 100644 --- a/tests/test_compat_params_v1.py +++ b/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 {