We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dac39e8 commit 141d3d2Copy full SHA for 141d3d2
1 file changed
fastapi/sse.py
@@ -1,10 +1,9 @@
1
from typing import Annotated, Any, Generic
2
3
-from typing_extensions import TypeVar
4
-
5
from annotated_doc import Doc
6
from pydantic import AfterValidator, BaseModel, ConfigDict, Field, model_validator
7
from starlette.responses import StreamingResponse
+from typing_extensions import TypeVar
8
9
Data = TypeVar("Data", default=Any)
10
"""Type variable for the `data` payload of a `ServerSentEvent`.
0 commit comments