Home / Function/ alist_keys() — langchain Function Reference

alist_keys() — langchain Function Reference

Architecture documentation for the alist_keys() function in base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  3c598158_81ec_b784_afbd_94cdae83804d["alist_keys()"]
  84fe5b79_2fbc_b61f_ca25_e76f82c76cf4["InMemoryRecordManager"]
  3c598158_81ec_b784_afbd_94cdae83804d -->|defined in| 84fe5b79_2fbc_b61f_ca25_e76f82c76cf4
  e57b6812_5577_a9f6_5c98_ead787382bb7["alist_keys()"]
  e57b6812_5577_a9f6_5c98_ead787382bb7 -->|calls| 3c598158_81ec_b784_afbd_94cdae83804d
  2bb2e7d4_0042_208e_7024_858f44a6938a["list_keys()"]
  3c598158_81ec_b784_afbd_94cdae83804d -->|calls| 2bb2e7d4_0042_208e_7024_858f44a6938a
  e57b6812_5577_a9f6_5c98_ead787382bb7["alist_keys()"]
  3c598158_81ec_b784_afbd_94cdae83804d -->|calls| e57b6812_5577_a9f6_5c98_ead787382bb7
  style 3c598158_81ec_b784_afbd_94cdae83804d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/indexing/base.py lines 388–413

    async def alist_keys(
        self,
        *,
        before: float | None = None,
        after: float | None = None,
        group_ids: Sequence[str] | None = None,
        limit: int | None = None,
    ) -> list[str]:
        """Async list records in the database based on the provided filters.

        Args:
            before: Filter to list records updated before this time.

            after: Filter to list records updated after this time.

            group_ids: Filter to list records with specific group IDs.

            limit: optional limit on the number of records to return.


        Returns:
            A list of keys for the matching records.
        """
        return self.list_keys(
            before=before, after=after, group_ids=group_ids, limit=limit
        )

Subdomains

Called By

Frequently Asked Questions

What does alist_keys() do?
alist_keys() is a function in the langchain codebase, defined in libs/core/langchain_core/indexing/base.py.
Where is alist_keys() defined?
alist_keys() is defined in libs/core/langchain_core/indexing/base.py at line 388.
What does alist_keys() call?
alist_keys() calls 2 function(s): alist_keys, list_keys.
What calls alist_keys()?
alist_keys() is called by 1 function(s): alist_keys.

Analyze Your Own Codebase

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

Try Supermodel Free