Skip to content

Commit 6a15519

Browse files
committed
Formatting/mypy ignore
1 parent c380a1a commit 6a15519

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/google_adk/calendar_agent/adk_agent_executor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# type: ignore
12
import asyncio
23
import logging
34

@@ -53,7 +54,7 @@ def __init__(self, runner: Runner, card: AgentCard):
5354

5455
def _run_agent(
5556
self, session_id, new_message: types.Content
56-
) -> AsyncGenerator[Event, None]:
57+
) -> AsyncGenerator[Event]:
5758
return self.runner.run_async(
5859
session_id=session_id, user_id='self', new_message=new_message
5960
)

src/a2a/client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ async def send_message_streaming(
133133
request: SendStreamingMessageRequest,
134134
*,
135135
http_kwargs: dict[str, Any] | None = None,
136-
) -> AsyncGenerator[SendStreamingMessageResponse, None]:
136+
) -> AsyncGenerator[SendStreamingMessageResponse]:
137137
if not request.id:
138138
request.id = str(uuid4())
139139

0 commit comments

Comments
 (0)