Home / Function/ on_retry_common() — langchain Function Reference

on_retry_common() — langchain Function Reference

Architecture documentation for the on_retry_common() function in _utils.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  924581bd_46c3_6e67_74e2_42146e8e06ab["on_retry_common()"]
  9467e1fa_6130_05ef_040c_a465e50b1e84["BaseFakeCallbackHandlerMixin"]
  924581bd_46c3_6e67_74e2_42146e8e06ab -->|defined in| 9467e1fa_6130_05ef_040c_a465e50b1e84
  5f944cb6_0f5e_53db_b4a7_a5bae1aea8ac["on_retry()"]
  5f944cb6_0f5e_53db_b4a7_a5bae1aea8ac -->|calls| 924581bd_46c3_6e67_74e2_42146e8e06ab
  style 924581bd_46c3_6e67_74e2_42146e8e06ab fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/anthropic/tests/unit_tests/_utils.py lines 61–62

    def on_retry_common(self) -> None:
        self.retries += 1

Subdomains

Called By

Frequently Asked Questions

What does on_retry_common() do?
on_retry_common() is a function in the langchain codebase, defined in libs/partners/anthropic/tests/unit_tests/_utils.py.
Where is on_retry_common() defined?
on_retry_common() is defined in libs/partners/anthropic/tests/unit_tests/_utils.py at line 61.
What calls on_retry_common()?
on_retry_common() is called by 1 function(s): on_retry.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free