Skip to content

Rename 'ctx' parameter in documentation label to 'tool_context', for consistency - #162

Merged
hangfei merged 2 commits into
google:mainfrom
gsarthakdev:update-documentation-base_tool-run_async
Apr 15, 2025
Merged

hangfei merged 2 commits into
google:mainfrom
gsarthakdev:update-documentation-base_tool-run_async

Conversation

@gsarthakdev

Copy link
Copy Markdown
Contributor

All other methods that have tool_context as an argument, refer to it as "tool_context" in the docstring under Args. However, run_async didn't, it used 'ctx', so I have updated it.

All other methods that have `tool_context` as an argument, refer to it as "tool_context" in the docstring under Args.
@google-cla

google-cla Bot commented Apr 14, 2025

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@hangfei

hangfei commented Apr 15, 2025

Copy link
Copy Markdown
Collaborator

Thanks for the fix!

@hangfei hangfei closed this Apr 15, 2025
@hangfei hangfei reopened this Apr 15, 2025
@hangfei
hangfei merged commit 4e8b944 into google:main Apr 15, 2025
@gsarthakdev

Copy link
Copy Markdown
Contributor Author

Welcome! Thank you for the review and successful merge @hangfei!

coder-aditi pushed a commit to coder-aditi/adk-python that referenced this pull request Jul 2, 2025
All other methods that have `tool_context` as an argument, refer to it as "tool_context" in the docstring under Args.

Co-authored-by: Hangfei Lin <hangfei@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants