Skip to content

Commit 090ca9c

Browse files
chore: Fixing typos (final round) (#588)
# Description Read further and discovered this additional (and final) set of typos
1 parent 8a76730 commit 090ca9c

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/stale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: Mark stale issues and pull requests
77

88
on:
99
schedule:
10-
# Scheduled to run at 10.30PM UTC everyday (1530PDT/1430PST)
10+
# Scheduled to run at 10.30PM UTC every day (1530PDT/1430PST)
1111
- cron: "30 22 * * *"
1212
workflow_dispatch:
1313

src/a2a/client/client_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def minimal_agent_card(
256256
"""Generates a minimal card to simplify bootstrapping client creation.
257257
258258
This minimal card is not viable itself to interact with the remote agent.
259-
Instead this is a short hand way to take a known url and transport option
259+
Instead this is a shorthand way to take a known url and transport option
260260
and interact with the get card endpoint of the agent server to get the
261261
correct agent card. This pattern is necessary for gRPC based card access
262262
as typically these servers won't expose a well known path card.

src/a2a/server/events/event_queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async def dequeue_event(self, no_wait: bool = False) -> Event:
7373
closed but when there are no events on the queue. Two ways to avoid this
7474
are to call this with no_wait = True which won't block, but is the
7575
callers responsibility to retry as appropriate. Alternatively, one can
76-
use a async Task management solution to cancel the get task if the queue
76+
use an async Task management solution to cancel the get task if the queue
7777
has closed or some other condition is met. The implementation of the
7878
EventConsumer uses an async.wait with a timeout to abort the
7979
dequeue_event call and retry, when it will return with a closed error.

tests/e2e/push_notifications/notifications_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def create_notifications_app() -> FastAPI:
2323

2424
@app.post('/notifications')
2525
async def add_notification(request: Request):
26-
"""Endpoint for injesting notifications from agents. It receives a JSON
26+
"""Endpoint for ingesting notifications from agents. It receives a JSON
2727
payload and stores it in-memory.
2828
"""
2929
token = request.headers.get('x-a2a-notification-token')
@@ -56,7 +56,7 @@ async def list_notifications_by_task(
5656
str, Path(title='The ID of the task to list the notifications for.')
5757
],
5858
):
59-
"""Helper endpoint for retrieving injested notifications for a given task."""
59+
"""Helper endpoint for retrieving ingested notifications for a given task."""
6060
async with store_lock:
6161
notifications = store.get(task_id, [])
6262
return {'notifications': notifications}

tests/server/events/test_event_queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ async def test_close_sets_flag_and_handles_internal_queue_new_python(
305305
async def test_close_graceful_py313_waits_for_join_and_children(
306306
event_queue: EventQueue,
307307
) -> None:
308-
"""For Python >=3.13 and immediate=False, close should shutdown(False), then wait for join and children."""
308+
"""For Python >=3.13 and immediate=False, close should shut down(False), then wait for join and children."""
309309
with patch('sys.version_info', (3, 13, 0)):
310310
# Arrange
311311
from typing import cast

0 commit comments

Comments
 (0)