Skip to content

chore: Remove unused variable #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/toolbox-core/src/toolbox_core/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,9 @@ def __parse_tool(
params = []
authn_params: dict[str, list[str]] = {}
bound_params: dict[str, Callable[[], str]] = {}
auth_sources: set[str] = set()
for p in schema.parameters:
if p.authSources: # authn parameter
authn_params[p.name] = p.authSources
auth_sources.update(p.authSources)
elif p.name in all_bound_params: # bound parameter
bound_params[p.name] = all_bound_params[p.name]
else: # regular parameter
Expand Down