[PR #6472] chore(langgraph): Add __init__.pyi file for auto import support #5053

Closed
opened 2026-02-20 17:51:09 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/6472

State: closed
Merged: No


Added a __init_.py file to langgraph folder. This helps python recognize langgraph as a package. Additionally this allows pylance or other python LSPs to provide import suggestions on the top level modules mainly runtime.py and types.py. Without __init_.py pylance code actions wouldn't suggest Runtime class or Send , Command from the top level modules. After addition of __init__.py these are now suggested by code actions auto import thereby improving developer experience.

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/6472 **State:** closed **Merged:** No --- Added a __init__.py file to langgraph folder. This helps python recognize langgraph as a package. Additionally this allows pylance or other python LSPs to provide import suggestions on the top level modules mainly `runtime.py` and `types.py`. Without __init__.py pylance code actions wouldn't suggest `Runtime` class or `Send` , `Command` from the top level modules. After addition of __init__.py these are now suggested by code actions auto import thereby improving developer experience.
yindo added the pull-request label 2026-02-20 17:51:09 -05:00
yindo closed this issue 2026-02-20 17:51:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#5053