Home / Function/ __dir__() — langchain Function Reference

__dir__() — langchain Function Reference

Architecture documentation for the __dir__() function in __init__.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  c329645f_1e6e_1836_7fc2_a0a6d148a1d5["__dir__()"]
  5c1862ac_9968_a75d_a4f6_cda40327c6b3["__init__.py"]
  c329645f_1e6e_1836_7fc2_a0a6d148a1d5 -->|defined in| 5c1862ac_9968_a75d_a4f6_cda40327c6b3
  style c329645f_1e6e_1836_7fc2_a0a6d148a1d5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/tools/__init__.py lines 94–95

def __dir__() -> list[str]:
    return list(__all__)

Subdomains

Frequently Asked Questions

What does __dir__() do?
__dir__() is a function in the langchain codebase, defined in libs/core/langchain_core/tools/__init__.py.
Where is __dir__() defined?
__dir__() is defined in libs/core/langchain_core/tools/__init__.py at line 94.

Analyze Your Own Codebase

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

Try Supermodel Free