__dir__() — langchain Function Reference
Architecture documentation for the __dir__() function in __init__.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 95c0e7bc_0c1a_dcbb_b27c_cb37e0e3fcba["__dir__()"] 4b23ff20_a8f8_3cf9_b53c_1fd60b4032c7["__init__.py"] 95c0e7bc_0c1a_dcbb_b27c_cb37e0e3fcba -->|defined in| 4b23ff20_a8f8_3cf9_b53c_1fd60b4032c7 style 95c0e7bc_0c1a_dcbb_b27c_cb37e0e3fcba fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/runnables/__init__.py lines 135–136
def __dir__() -> list[str]:
return list(__all__)
Domain
Subdomains
Source
Frequently Asked Questions
What does __dir__() do?
__dir__() is a function in the langchain codebase, defined in libs/core/langchain_core/runnables/__init__.py.
Where is __dir__() defined?
__dir__() is defined in libs/core/langchain_core/runnables/__init__.py at line 135.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free