[PR #2524] Correct annotation for file_name in read_document function #2762

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

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

State: closed
Merged: No


The current annotation states "File path to save the document." which implies that the function saves data to the file. However, read_document is only used to read the contents of the file, not save to it. This PR changes the annotation to "File path to read the document." to more accurately describe the parameter’s purpose.

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/2524 **State:** closed **Merged:** No --- The current annotation states "File path to save the document." which implies that the function saves data to the file. However, read_document is only used to read the contents of the file, not save to it. This PR changes the annotation to "File path to read the document." to more accurately describe the parameter’s purpose.
yindo added the pull-request label 2026-02-20 17:47:31 -05:00
yindo closed this issue 2026-02-20 17:47:31 -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#2762