Browse Source

fix: move stray import to top of file (E402)

pull/15504/head
Arya Rizky 3 weeks ago
parent
commit
5d30cfe7b9
  1. 5
      tests/test_custom_route_class.py

5
tests/test_custom_route_class.py

@ -5,6 +5,7 @@ from fastapi.testclient import TestClient
from inline_snapshot import snapshot
from starlette.routing import Route
from typing import Any, Callable, Sequence
app = FastAPI()
@ -121,10 +122,6 @@ def test_openapi_schema():
)
from collections.abc import Callable, Sequence
from typing import Any
class LegacyAPIRoute(APIRoute):
"""Route subclass with explicit __init__ matching the pre-strict_content_type signature."""

Loading…
Cancel
Save