We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef02615 commit 2e36f66Copy full SHA for 2e36f66
packages/toolbox-core/src/toolbox_core/client.py
@@ -79,9 +79,9 @@ def __parse_tool(
79
else: # regular parameter
80
params.append(p)
81
82
- authn_params = identify_required_authn_params(
+ authn_params, used_auth_keys = identify_required_authn_params(
83
authn_params, auth_token_getters.keys()
84
- )[0]
+ )
85
86
tool = ToolboxTool(
87
session=self.__session,
@@ -97,9 +97,6 @@ def __parse_tool(
97
)
98
99
used_bound_keys = set(bound_params.keys())
100
- used_auth_keys: set[str] = set()
101
- for required_sources in authn_params.values():
102
- used_auth_keys.update(required_sources)
103
104
return tool, used_auth_keys, used_bound_keys
105
0 commit comments