Browse Source

🔥 Remove spoiler

pull/14254/head
Sebastián Ramírez 9 months ago
parent
commit
db77e81394
  1. 3
      fastapi/params.py

3
fastapi/params.py

@ -5,7 +5,7 @@ from typing import Any, Callable, Dict, List, Optional, Sequence, Union
from fastapi.openapi.models import Example
from pydantic.fields import FieldInfo
from typing_extensions import Annotated, Literal, deprecated
from typing_extensions import Annotated, deprecated
from ._compat import (
PYDANTIC_V2,
@ -766,7 +766,6 @@ class File(Form): # type: ignore[misc]
class Depends:
dependency: Optional[Callable[..., Any]] = None
use_cache: bool = True
scope: Literal["function", "request", "lifespan"] = "request"
@dataclass

Loading…
Cancel
Save