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
  4208b494_ae1e_3224_3687_eea9f2d5aa95["__dir__()"]
  33c94418_796f_ec6a_2e56_9a1d403832ff["__init__.py"]
  4208b494_ae1e_3224_3687_eea9f2d5aa95 -->|defined in| 33c94418_796f_ec6a_2e56_9a1d403832ff
  style 4208b494_ae1e_3224_3687_eea9f2d5aa95 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/callbacks/__init__.py lines 131–132

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/callbacks/__init__.py.
Where is __dir__() defined?
__dir__() is defined in libs/core/langchain_core/callbacks/__init__.py at line 131.

Analyze Your Own Codebase

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

Try Supermodel Free