Skip to content

Commit 79c6519

Browse files
committed
ignore typing F821
1 parent a76f832 commit 79c6519

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/types/streaming/fastapi/app/api/routers/vercel_response.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ def _create_stream(
143143
self,
144144
request: Request,
145145
chat_data: ChatData,
146-
event_handler: "AgentRunResult" | AsyncGenerator,
147-
events: AsyncGenerator["AgentRunEvent", None],
146+
event_handler: "AgentRunResult" | AsyncGenerator, # noqa: F821
147+
events: AsyncGenerator["AgentRunEvent", None], # noqa: F821
148148
verbose: bool = True,
149149
):
150150
# Yield the text response
@@ -184,7 +184,7 @@ async def _event_generator():
184184
return combine
185185

186186
@staticmethod
187-
def _event_to_response(event: "AgentRunEvent") -> dict:
187+
def _event_to_response(event: "AgentRunEvent") -> dict: # noqa: F821
188188
return {
189189
"type": "agent",
190190
"data": {"agent": event.name, "text": event.msg},

0 commit comments

Comments
 (0)