_add_child_run() — langchain Function Reference
Architecture documentation for the _add_child_run() function in core.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 5b191350_603e_2668_1158_5dd3352f7eea["_add_child_run()"] 70348e44_de0f_ccb4_c06a_8453289ed93e["_TracerCore"] 5b191350_603e_2668_1158_5dd3352f7eea -->|defined in| 70348e44_de0f_ccb4_c06a_8453289ed93e aa357f95_c4f3_1df6_b1f9_f92eda0e6da7["_start_trace()"] aa357f95_c4f3_1df6_b1f9_f92eda0e6da7 -->|calls| 5b191350_603e_2668_1158_5dd3352f7eea style 5b191350_603e_2668_1158_5dd3352f7eea fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/tracers/core.py lines 91–96
def _add_child_run(
parent_run: Run,
child_run: Run,
) -> None:
"""Add child run to a chain run or tool run."""
parent_run.child_runs.append(child_run)
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does _add_child_run() do?
_add_child_run() is a function in the langchain codebase, defined in libs/core/langchain_core/tracers/core.py.
Where is _add_child_run() defined?
_add_child_run() is defined in libs/core/langchain_core/tracers/core.py at line 91.
What calls _add_child_run()?
_add_child_run() is called by 1 function(s): _start_trace.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free