From 44003909833a3e7c6a1e3d8c410af30a4f67f2b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 9 Oct 2025 18:44:20 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Tweak=20imports=20for=20Python?= =?UTF-8?q?=203.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_compat_params_v1.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_compat_params_v1.py b/tests/test_compat_params_v1.py index 521db3e72..9877c3130 100644 --- a/tests/test_compat_params_v1.py +++ b/tests/test_compat_params_v1.py @@ -1,4 +1,4 @@ -from typing import Annotated, Optional +from typing import Optional import pytest from fastapi import FastAPI @@ -6,6 +6,7 @@ from fastapi._compat._params_v1 import Body, Cookie, File, Form, Header, Path, Q from fastapi._compat.v1 import BaseModel from fastapi.testclient import TestClient from inline_snapshot import snapshot +from typing_extensions import Annotated from tests.utils import pydantic_snapshot