Skip to content

Commit d055723

Browse files
authored
docs: Update docstring to be more accurate (#199)
* docs: Update docstring to be more accurate * docs: Make the docstring consistent across helpers.
1 parent 758f620 commit d055723

File tree

1 file changed

+4
-4
lines changed
  • packages/toolbox-core/src/toolbox_core

1 file changed

+4
-4
lines changed

packages/toolbox-core/src/toolbox_core/tool.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ def __init__(
6363
name: The name of the remote tool.
6464
description: The description of the remote tool.
6565
params: The args of the tool.
66-
required_authn_params: A dict of required authenticated parameters to a list
67-
of services that provide values for them.
66+
required_authn_params: A map of required authenticated parameters to a list
67+
of alternative services that can provide values for them.
6868
auth_service_token_getters: A dict of authService -> token (or callables that
6969
produce a token)
7070
bound_params: A mapping of parameter names to bind to specific values or
@@ -134,8 +134,8 @@ def __copy(
134134
name: The name of the remote tool.
135135
description: The description of the remote tool.
136136
params: The args of the tool.
137-
required_authn_params: A dict of required authenticated parameters that need
138-
an auth_service_token_getter set for them yet.
137+
required_authn_params: A map of required authenticated parameters to a list
138+
of alternative services that can provide values for them.
139139
auth_service_token_getters: A dict of authService -> token (or callables
140140
that produce a token)
141141
bound_params: A mapping of parameter names to bind to specific values or

0 commit comments

Comments
 (0)