Home / Function/ _acall() — langchain Function Reference

_acall() — langchain Function Reference

Architecture documentation for the _acall() function in transform.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  796cc76c_c848_fa6a_171b_5a673a24518d["_acall()"]
  7144c443_e893_b66a_5e9b_98c6b8dbbaac["TransformChain"]
  796cc76c_c848_fa6a_171b_5a673a24518d -->|defined in| 7144c443_e893_b66a_5e9b_98c6b8dbbaac
  4ccfbc6b_6152_f478_6eb4_7b822a2fa40f["_log_once()"]
  796cc76c_c848_fa6a_171b_5a673a24518d -->|calls| 4ccfbc6b_6152_f478_6eb4_7b822a2fa40f
  style 796cc76c_c848_fa6a_171b_5a673a24518d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/transform.py lines 68–79

    async def _acall(
        self,
        inputs: dict[str, Any],
        run_manager: AsyncCallbackManagerForChainRun | None = None,
    ) -> dict[str, Any]:
        if self.atransform_cb is not None:
            return await self.atransform_cb(inputs)
        self._log_once(
            "TransformChain's atransform is not provided, falling"
            " back to synchronous transform",
        )
        return self.transform_cb(inputs)

Subdomains

Calls

Frequently Asked Questions

What does _acall() do?
_acall() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/transform.py.
Where is _acall() defined?
_acall() is defined in libs/langchain/langchain_classic/chains/transform.py at line 68.
What does _acall() call?
_acall() calls 1 function(s): _log_once.

Analyze Your Own Codebase

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

Try Supermodel Free