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 2c5343be_082e_e6aa_57e8_6f93fac4d029["get_sync()"] edb9d036_ba6e_cc5d_0607_e2486edb64dc["AsyncCallbackManagerForLLMRun"] 2c5343be_082e_e6aa_57e8_6f93fac4d029 -->|defined in| edb9d036_ba6e_cc5d_0607_e2486edb64dc 7697d929_b2db_4597_c3b8_ccc0e28feb61["get_sync()"] 2c5343be_082e_e6aa_57e8_6f93fac4d029 -->|calls| 7697d929_b2db_4597_c3b8_ccc0e28feb61 style 2c5343be_082e_e6aa_57e8_6f93fac4d029 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/callbacks/manager.py lines 756–772
def get_sync(self) -> CallbackManagerForLLMRun:
"""Get the equivalent sync `RunManager`.
Returns:
The sync `RunManager`.
"""
return CallbackManagerForLLMRun(
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 756.
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