pre-commit-ci-lite[bot]
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
2 deletions
-
tests/test_annotated_forward_ref.py
|
|
|
@ -2,9 +2,8 @@ from __future__ import annotations |
|
|
|
|
|
|
|
from typing import Annotated |
|
|
|
|
|
|
|
from inline_snapshot import snapshot |
|
|
|
|
|
|
|
from fastapi import Depends, FastAPI |
|
|
|
from inline_snapshot import snapshot |
|
|
|
|
|
|
|
# Simulate the real-world bug: Potato is defined AFTER the route decorator |
|
|
|
# under `from __future__ import annotations`. |
|
|
|
|