Skip to content

Commit c788794

Browse files
committed
Update gitignore and spelling
1 parent b701b0c commit c788794

File tree

3 files changed

+17
-183
lines changed

3 files changed

+17
-183
lines changed

.github/actions/spelling/allow.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
AClient
12
AError
23
ARequest
4+
ARun
35
AServer
46
AStarlette
7+
Llm
58
adk
69
codegen
710
datamodel
@@ -14,3 +17,5 @@ opensource
1417
socio
1518
sse
1619
tagwords
20+
AClient
21+
ARun

.gitignore

Lines changed: 8 additions & 179 deletions
Original file line numberDiff line numberDiff line change
@@ -1,181 +1,10 @@
1-
# Byte-compiled / optimized / DLL files
2-
__pycache__/
3-
*.py[cod]
4-
*.pyc
5-
*$py.class
6-
**/dist
7-
/tmp
8-
/out-tsc
9-
/bazel-out
10-
11-
# C extensions
12-
*.so
13-
14-
# Distribution / packaging
15-
.Python
16-
build/
17-
develop-eggs/
18-
dist/
19-
downloads/
20-
eggs/
21-
.eggs/
22-
lib/
23-
lib64/
24-
parts/
25-
sdist/
26-
var/
27-
wheels/
28-
pip-wheel-metadata/
29-
share/python-wheels/
30-
*.egg-info/
31-
.installed.cfg
32-
*.egg
33-
MANIFEST
34-
35-
# PyInstaller
36-
# Usually these files are written by a python script from a template
37-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
38-
*.manifest
39-
*.spec
40-
41-
# Installer logs
42-
pip-log.txt
43-
pip-delete-this-directory.txt
44-
45-
# Unit test / coverage reports
46-
htmlcov/
47-
.tox/
48-
.nox/
49-
.coverage
50-
.coverage.*
51-
.cache
52-
nosetests.xml
53-
coverage.xml
54-
*.cover
55-
*.py,cover
56-
.hypothesis/
57-
.pytest_cache/
58-
59-
# Translations
60-
*.mo
61-
*.pot
62-
63-
# Django stuff:
64-
*.log
65-
local_settings.py
66-
db.sqlite3
67-
db.sqlite3-journal
68-
69-
# Flask stuff:
70-
instance/
71-
.webassets-cache
72-
73-
# Scrapy stuff:
74-
.scrapy
75-
76-
# Sphinx documentation
77-
docs/_build/
78-
79-
# PyBuilder
80-
target/
81-
82-
# Jupyter Notebook
83-
.ipynb_checkpoints
84-
85-
# IPython
86-
profile_default/
87-
ipython_config.py
88-
89-
# pyenv
90-
.python-version
91-
92-
# pipenv
93-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
94-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
95-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
96-
# install all needed dependencies.
97-
Pipfile.lock
98-
Pipfile
99-
100-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
101-
__pypackages__/
102-
103-
# Celery stuff
104-
celerybeat-schedule
105-
celerybeat.pid
106-
107-
# SageMath parsed files
108-
*.sage.py
109-
110-
# Environments
1+
.DS_Store
2+
__pycache__
1113
.env
4+
.coverage
5+
.mypy_cache
6+
.pytest_cache
7+
.ruff_cache
1128
.venv
113-
.venv*
114-
env/
115-
venv/
116-
ENV/
117-
env.bak/
118-
venv.bak/
119-
120-
# Spyder project settings
121-
.spyderproject
122-
.spyproject
123-
124-
# Rope project settings
125-
.ropeproject
126-
127-
# mkdocs documentation
128-
/site
129-
130-
# mypy
131-
.mypy_cache/
132-
.dmypy.json
133-
dmypy.json
134-
135-
# Pyre type checker
136-
.pyre/
137-
138-
# macOS
139-
.DS_Store
140-
141-
# PyCharm
142-
.idea
143-
144-
# User-specific files
145-
language/examples/prompt-design/train.csv
146-
README-TOC*.md
147-
148-
# Terraform
149-
terraform.tfstate**
150-
.terraform*
151-
.Terraform*
152-
153-
tmp*
154-
155-
# Node
156-
**/node_modules
157-
npm-debug.log
158-
yarn-error.log
159-
160-
# IDEs and editors
161-
.idea/
162-
.project
163-
.classpath
164-
.c9/
165-
*.launch
166-
.settings/
167-
*.sublime-workspace
168-
169-
# Miscellaneous
170-
**/.angular/*
171-
/.angular/cache
172-
.sass-cache/
173-
/connect.lock
174-
/coverage
175-
/libpeerconnection.log
176-
testem.log
177-
/typings
178-
179-
# System files
180-
.DS_Store
181-
Thumbs.db
9+
coverage.xml
10+
spec.json

examples/google_adk/birthday_planner/adk_agent_executor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,12 +308,12 @@ async def _get_agent_task(self, task_id) -> Task:
308308

309309

310310
def convert_a2a_parts_to_genai(parts: list[Part]) -> list[types.Part]:
311-
"""Convert a list of A2A Part types into a list of Google GenAI Part types."""
311+
"""Convert a list of A2A Part types into a list of Google Gen AI Part types."""
312312
return [convert_a2a_part_to_genai(part) for part in parts]
313313

314314

315315
def convert_a2a_part_to_genai(part: Part) -> types.Part:
316-
"""Convert a single A2A Part type into a Google GenAI Part type."""
316+
"""Convert a single A2A Part type into a Google Gen AI Part type."""
317317
part = part.root
318318
if isinstance(part, TextPart):
319319
return types.Part(text=part.text)
@@ -335,7 +335,7 @@ def convert_a2a_part_to_genai(part: Part) -> types.Part:
335335

336336

337337
def convert_genai_parts_to_a2a(parts: list[types.Part]) -> list[Part]:
338-
"""Convert a list of Google GenAI Part types into a list of A2A Part types."""
338+
"""Convert a list of Google Gen AI Part types into a list of A2A Part types."""
339339
return [
340340
convert_genai_part_to_a2a(part)
341341
for part in parts
@@ -344,7 +344,7 @@ def convert_genai_parts_to_a2a(parts: list[types.Part]) -> list[Part]:
344344

345345

346346
def convert_genai_part_to_a2a(part: types.Part) -> Part:
347-
"""Convert a single Google GenAI Part type into an A2A Part type."""
347+
"""Convert a single Google Gen AI Part type into an A2A Part type."""
348348
if part.text:
349349
return TextPart(text=part.text)
350350
if part.file_data:

0 commit comments

Comments
 (0)