reset() — langchain Function Reference
Architecture documentation for the reset() function in test_runnable_events_v2.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD ff9dc64e_d522_d439_5302_1fca52a68214["reset()"] 6897515f_c7bd_a14e_9880_54f3ac0d110c["AwhileMaker"] ff9dc64e_d522_d439_5302_1fca52a68214 -->|defined in| 6897515f_c7bd_a14e_9880_54f3ac0d110c 8b525584_e057_77a7_68b0_2efc290a40e3["test_break_astream_events()"] 8b525584_e057_77a7_68b0_2efc290a40e3 -->|calls| ff9dc64e_d522_d439_5302_1fca52a68214 146d780c_9af8_5d42_bc0e_694bc8024c76["__init__()"] 146d780c_9af8_5d42_bc0e_694bc8024c76 -->|calls| ff9dc64e_d522_d439_5302_1fca52a68214 871ce5fd_04b5_0b98_83c8_1c98e6ed7672["test_cancel_astream_events()"] 871ce5fd_04b5_0b98_83c8_1c98e6ed7672 -->|calls| ff9dc64e_d522_d439_5302_1fca52a68214 style ff9dc64e_d522_d439_5302_1fca52a68214 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/runnables/test_runnable_events_v2.py lines 2476–2478
def reset(self) -> None:
self.started = False
self.cancelled = False
Domain
Subdomains
Source
Frequently Asked Questions
What does reset() do?
reset() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/runnables/test_runnable_events_v2.py.
Where is reset() defined?
reset() is defined in libs/core/tests/unit_tests/runnables/test_runnable_events_v2.py at line 2476.
What calls reset()?
reset() is called by 3 function(s): __init__, test_break_astream_events, test_cancel_astream_events.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free