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