Home / Function/ amget() — langchain Function Reference

amget() — langchain Function Reference

Architecture documentation for the amget() function in stores.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  2b123c53_c00f_8d62_f5b3_bc4284abdcea["amget()"]
  0ebcc119_721f_59ac_fdad_f204128f9add["BaseStore"]
  2b123c53_c00f_8d62_f5b3_bc4284abdcea -->|defined in| 0ebcc119_721f_59ac_fdad_f204128f9add
  5b8156ce_f52d_7e07_7b03_566388b38641["amget()"]
  5b8156ce_f52d_7e07_7b03_566388b38641 -->|calls| 2b123c53_c00f_8d62_f5b3_bc4284abdcea
  5b8156ce_f52d_7e07_7b03_566388b38641["amget()"]
  2b123c53_c00f_8d62_f5b3_bc4284abdcea -->|calls| 5b8156ce_f52d_7e07_7b03_566388b38641
  style 2b123c53_c00f_8d62_f5b3_bc4284abdcea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/stores.py lines 92–102

    async def amget(self, keys: Sequence[K]) -> list[V | None]:
        """Async get the values associated with the given keys.

        Args:
            keys: A sequence of keys.

        Returns:
            A sequence of optional values associated with the keys.
                If a key is not found, the corresponding value will be `None`.
        """
        return await run_in_executor(None, self.mget, keys)

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does amget() do?
amget() is a function in the langchain codebase, defined in libs/core/langchain_core/stores.py.
Where is amget() defined?
amget() is defined in libs/core/langchain_core/stores.py at line 92.
What does amget() call?
amget() calls 1 function(s): amget.
What calls amget()?
amget() is called by 1 function(s): amget.

Analyze Your Own Codebase

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

Try Supermodel Free