Skip to content

Commit 91f379e

Browse files
committed
Fix spelling
1 parent 5c3f842 commit 91f379e

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/actions/spelling/allow.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
adk
2+
AError
3+
ARequest
4+
AStarlette
5+
genai
6+
inmemory
7+
lifecycles
8+
oauthoidc
9+
sse

examples/google_adk/calendar_agent/adk_agent_executor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@ def _upsert_session(self, session_id: str):
237237

238238

239239
def convert_a2a_parts_to_genai(parts: list[Part]) -> list[types.Part]:
240-
"""Convert a list of A2A Part types into a list of Google GenAI Part types."""
240+
"""Convert a list of A2A Part types into a list of Google Gen AI Part types."""
241241
return [convert_a2a_part_to_genai(part) for part in parts]
242242

243243

244244
def convert_a2a_part_to_genai(part: Part) -> types.Part:
245-
"""Convert a single A2A Part type into a Google GenAI Part type."""
245+
"""Convert a single A2A Part type into a Google Gen AI Part type."""
246246
part = part.root
247247
if isinstance(part, TextPart):
248248
return types.Part(text=part.text)
@@ -264,7 +264,7 @@ def convert_a2a_part_to_genai(part: Part) -> types.Part:
264264

265265

266266
def convert_genai_parts_to_a2a(parts: list[types.Part]) -> list[Part]:
267-
"""Convert a list of Google GenAI Part types into a list of A2A Part types."""
267+
"""Convert a list of Google Gen AI Part types into a list of A2A Part types."""
268268
return [
269269
convert_genai_part_to_a2a(part)
270270
for part in parts
@@ -273,7 +273,7 @@ def convert_genai_parts_to_a2a(parts: list[types.Part]) -> list[Part]:
273273

274274

275275
def convert_genai_part_to_a2a(part: types.Part) -> Part:
276-
"""Convert a single Google GenAI Part type into an A2A Part type."""
276+
"""Convert a single Google Gen AI Part type into an A2A Part type."""
277277
if part.text:
278278
return TextPart(text=part.text)
279279
if part.file_data:

0 commit comments

Comments
 (0)