Browse Source

🎨 Tweak imports for Python 3.8

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

3
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

Loading…
Cancel
Save