Home / Function/ stop() — langchain Function Reference

stop() — langchain Function Reference

Architecture documentation for the stop() function in test_shell_tool.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  2265527f_de19_3fd2_29d7_02c23594f216["stop()"]
  6c4009f0_1a2a_2125_8ab8_e77c1fe8d868["DummySession"]
  2265527f_de19_3fd2_29d7_02c23594f216 -->|defined in| 6c4009f0_1a2a_2125_8ab8_e77c1fe8d868
  eb6233fc_ece0_25c2_0d51_5b41a3677de6["test_session_resources_finalizer_cleans_up()"]
  eb6233fc_ece0_25c2_0d51_5b41a3677de6 -->|calls| 2265527f_de19_3fd2_29d7_02c23594f216
  style 2265527f_de19_3fd2_29d7_02c23594f216 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_tool.py lines 159–160

        def stop(self, timeout: float) -> None:
            self.stopped = True

Domain

Subdomains

Frequently Asked Questions

What does stop() do?
stop() is a function in the langchain codebase, defined in libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_tool.py.
Where is stop() defined?
stop() is defined in libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_tool.py at line 159.
What calls stop()?
stop() is called by 1 function(s): test_session_resources_finalizer_cleans_up.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free