TestParrotMultiplyToolIntegration Class — langchain Architecture
Architecture documentation for the TestParrotMultiplyToolIntegration class in test_decorated_tool.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD bc2315eb_7395_1436_40ff_a877a75415a4["TestParrotMultiplyToolIntegration"] 1d8fc9eb_6e1b_e6b2_25c1_496643fddc53["ToolsIntegrationTests"] bc2315eb_7395_1436_40ff_a877a75415a4 -->|extends| 1d8fc9eb_6e1b_e6b2_25c1_496643fddc53 be95f8f9_5efc_daec_7294_88a053731239["test_decorated_tool.py"] bc2315eb_7395_1436_40ff_a877a75415a4 -->|defined in| be95f8f9_5efc_daec_7294_88a053731239 5484f539_0b4e_79cb_1445_a83343dd7f90["tool_constructor()"] bc2315eb_7395_1436_40ff_a877a75415a4 -->|method| 5484f539_0b4e_79cb_1445_a83343dd7f90 0ab9e188_6c6d_2f14_8337_fe5acb007b5c["tool_invoke_params_example()"] bc2315eb_7395_1436_40ff_a877a75415a4 -->|method| 0ab9e188_6c6d_2f14_8337_fe5acb007b5c
Relationship Graph
Source Code
libs/standard-tests/tests/unit_tests/test_decorated_tool.py lines 30–42
class TestParrotMultiplyToolIntegration(ToolsIntegrationTests):
@property
def tool_constructor(self) -> BaseTool:
return parrot_multiply_tool
@property
def tool_invoke_params_example(self) -> dict[str, Any]:
"""Returns a dictionary representing the "args" of an example tool call.
This should NOT be a ToolCall dict - i.e. it should not
have {"name", "id", "args"} keys.
"""
return {"a": 2, "b": 3}
Extends
Source
Frequently Asked Questions
What is the TestParrotMultiplyToolIntegration class?
TestParrotMultiplyToolIntegration is a class in the langchain codebase, defined in libs/standard-tests/tests/unit_tests/test_decorated_tool.py.
Where is TestParrotMultiplyToolIntegration defined?
TestParrotMultiplyToolIntegration is defined in libs/standard-tests/tests/unit_tests/test_decorated_tool.py at line 30.
What does TestParrotMultiplyToolIntegration extend?
TestParrotMultiplyToolIntegration extends ToolsIntegrationTests.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free