Skip to content

Commit 59f0634

Browse files
authored
docs: Update docstring for strict flag to make it unambiguous (#247)
1 parent fcdfdae commit 59f0634

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ async def load_toolset(
227227
bound_params: A mapping of parameter names to bind to specific values or
228228
callables that are called to produce values as needed.
229229
strict: If True, raises an error if *any* loaded tool instance fails
230-
to utilize at least one provided parameter or auth token (if any
230+
to utilize all of the given parameters or auth tokens. (if any
231231
provided). If False (default), raises an error only if a
232232
user-provided parameter or auth token cannot be applied to *any*
233233
loaded tool across the set.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def load_toolset(
122122
bound_params: A mapping of parameter names to bind to specific values or
123123
callables that are called to produce values as needed.
124124
strict: If True, raises an error if *any* loaded tool instance fails
125-
to utilize at least one provided parameter or auth token (if any
125+
to utilize all of the given parameters or auth tokens. (if any
126126
provided). If False (default), raises an error only if a
127127
user-provided parameter or auth token cannot be applied to *any*
128128
loaded tool across the set.

packages/toolbox-langchain/src/toolbox_langchain/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async def aload_toolset(
119119
bound_params: An optional mapping of parameter names to their
120120
bound values.
121121
strict: If True, raises an error if *any* loaded tool instance fails
122-
to utilize at least one provided parameter or auth token (if any
122+
to utilize all of the given parameters or auth tokens. (if any
123123
provided). If False (default), raises an error only if a
124124
user-provided parameter or auth token cannot be applied to *any*
125125
loaded tool across the set.

packages/toolbox-langchain/src/toolbox_langchain/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ async def aload_toolset(
116116
bound_params: An optional mapping of parameter names to their
117117
bound values.
118118
strict: If True, raises an error if *any* loaded tool instance fails
119-
to utilize at least one provided parameter or auth token (if any
119+
to utilize all of the given parameters or auth tokens. (if any
120120
provided). If False (default), raises an error only if a
121121
user-provided parameter or auth token cannot be applied to *any*
122122
loaded tool across the set.
@@ -242,7 +242,7 @@ def load_toolset(
242242
bound_params: An optional mapping of parameter names to their
243243
bound values.
244244
strict: If True, raises an error if *any* loaded tool instance fails
245-
to utilize at least one provided parameter or auth token (if any
245+
to utilize all of the given parameters or auth tokens. (if any
246246
provided). If False (default), raises an error only if a
247247
user-provided parameter or auth token cannot be applied to *any*
248248
loaded tool across the set.

0 commit comments

Comments
 (0)