get_sync() — langchain Function Reference
Architecture documentation for the get_sync() function in manager.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 3dfb1dd6_b8e4_f582_743e_87c5e74a4206["get_sync()"] 4bbdce53_aee3_a4dd_64c9_5813ff30b559["AsyncCallbackManagerForToolRun"] 3dfb1dd6_b8e4_f582_743e_87c5e74a4206 -->|defined in| 4bbdce53_aee3_a4dd_64c9_5813ff30b559 7697d929_b2db_4597_c3b8_ccc0e28feb61["get_sync()"] 3dfb1dd6_b8e4_f582_743e_87c5e74a4206 -->|calls| 7697d929_b2db_4597_c3b8_ccc0e28feb61 style 3dfb1dd6_b8e4_f582_743e_87c5e74a4206 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/callbacks/manager.py lines 1111–1126
def get_sync(self) -> CallbackManagerForToolRun:
"""Get the equivalent sync `RunManager`.
Returns:
The sync `RunManager`.
"""
return CallbackManagerForToolRun(
run_id=self.run_id,
handlers=self.handlers,
inheritable_handlers=self.inheritable_handlers,
parent_run_id=self.parent_run_id,
tags=self.tags,
inheritable_tags=self.inheritable_tags,
metadata=self.metadata,
inheritable_metadata=self.inheritable_metadata,
)
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does get_sync() do?
get_sync() is a function in the langchain codebase, defined in libs/core/langchain_core/callbacks/manager.py.
Where is get_sync() defined?
get_sync() is defined in libs/core/langchain_core/callbacks/manager.py at line 1111.
What does get_sync() call?
get_sync() calls 1 function(s): get_sync.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free