mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
chore(core): remove arg types from docstrings (#33388)
* Remove types args * Remove types from Returns * Remove types from Yield * Replace `kwargs` by `**kwargs` when needed
This commit is contained in:
committed by
GitHub
parent
3576e690fa
commit
f405a2c57d
@@ -777,7 +777,7 @@ class ChildTool(BaseTool):
|
||||
run_id: The id of the run. Defaults to `None`.
|
||||
config: The configuration for the tool. Defaults to `None`.
|
||||
tool_call_id: The id of the tool call. Defaults to `None`.
|
||||
kwargs: Keyword arguments to be passed to tool callbacks (event handler)
|
||||
**kwargs: Keyword arguments to be passed to tool callbacks (event handler)
|
||||
|
||||
Returns:
|
||||
The output of the tool.
|
||||
@@ -889,7 +889,7 @@ class ChildTool(BaseTool):
|
||||
run_id: The id of the run. Defaults to `None`.
|
||||
config: The configuration for the tool. Defaults to `None`.
|
||||
tool_call_id: The id of the tool call. Defaults to `None`.
|
||||
kwargs: Keyword arguments to be passed to tool callbacks
|
||||
**kwargs: Keyword arguments to be passed to tool callbacks
|
||||
|
||||
Returns:
|
||||
The output of the tool.
|
||||
|
||||
@@ -180,7 +180,7 @@ class Tool(BaseTool):
|
||||
return_direct: Whether to return the output directly. Defaults to `False`.
|
||||
args_schema: The schema of the tool's input arguments. Defaults to `None`.
|
||||
coroutine: The asynchronous version of the function. Defaults to `None`.
|
||||
kwargs: Additional arguments to pass to the tool.
|
||||
**kwargs: Additional arguments to pass to the tool.
|
||||
|
||||
Returns:
|
||||
The tool.
|
||||
|
||||
@@ -164,7 +164,7 @@ class StructuredTool(BaseTool):
|
||||
error_on_invalid_docstring: if ``parse_docstring`` is provided, configure
|
||||
whether to raise ValueError on invalid Google Style docstrings.
|
||||
Defaults to `False`.
|
||||
kwargs: Additional arguments to pass to the tool
|
||||
**kwargs: Additional arguments to pass to the tool
|
||||
|
||||
Returns:
|
||||
The tool.
|
||||
|
||||
Reference in New Issue
Block a user