[PR #6500] feat(sdk-py): add sentinel to skip auto loading api key on sdk client create #5082

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

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

State: closed
Merged: Yes


Description: There are times a user might want to create the client, but conditionally set the API key. For example, consider a complex auth situation where the system has user callers using jwts and system callers using API keys. This allows explicitly disabling the auto-loading behavior of API keys in the client today, so no key is set.
Issue: N/A
Dependencies: None
Twitter handle: N/A

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/6500 **State:** closed **Merged:** Yes --- **Description:** There are times a user might want to create the client, but conditionally set the API key. For example, consider a complex auth situation where the system has user callers using jwts and system callers using API keys. This allows explicitly disabling the auto-loading behavior of API keys in the client today, so no key is set. **Issue:** N/A **Dependencies:** None **Twitter handle:** N/A
yindo added the pull-request label 2026-02-20 17:51:12 -05:00
yindo closed this issue 2026-02-20 17:51:12 -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#5082