Home / Function/ list_keys() — langchain Function Reference

list_keys() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  91d8ded6_f5c8_b2ea_cc50_17bfe6d28a25["list_keys()"]
  cc7bb185_d3e3_eb58_9979_a81c90c9cc33["RecordManager"]
  91d8ded6_f5c8_b2ea_cc50_17bfe6d28a25 -->|defined in| cc7bb185_d3e3_eb58_9979_a81c90c9cc33
  2bb2e7d4_0042_208e_7024_858f44a6938a["list_keys()"]
  2bb2e7d4_0042_208e_7024_858f44a6938a -->|calls| 91d8ded6_f5c8_b2ea_cc50_17bfe6d28a25
  2bb2e7d4_0042_208e_7024_858f44a6938a["list_keys()"]
  91d8ded6_f5c8_b2ea_cc50_17bfe6d28a25 -->|calls| 2bb2e7d4_0042_208e_7024_858f44a6938a
  style 91d8ded6_f5c8_b2ea_cc50_17bfe6d28a25 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/indexing/base.py lines 177–195

    def list_keys(
        self,
        *,
        before: float | None = None,
        after: float | None = None,
        group_ids: Sequence[str] | None = None,
        limit: int | None = None,
    ) -> list[str]:
        """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.
        """

Subdomains

Calls

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free