From 96cce6843db994c3a8e2ad0ff5cdf277bdec4f20 Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Sun, 27 Sep 2026 14:35:09 +0530 Subject: [PATCH] refactor(auth): drop impossible auth_store dict guard --- agent/credential_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/credential_pool.py b/agent/credential_pool.py index f69f0e79a6..cd64a15a1a 100644 --- a/agent/credential_pool.py +++ b/agent/credential_pool.py @@ -831,7 +831,7 @@ def _singleton_target_for_entry(pool: "CredentialPool", entry: "PooledCredential def _store_owns_pool_provider(auth_store: Dict[str, Any], provider: str) -> bool: """True when an already-loaded *auth_store* has its own rows for *provider*.""" - pool = auth_store.get("credential_pool") if isinstance(auth_store, dict) else None + pool = auth_store.get("credential_pool") entries = pool.get(provider) if isinstance(pool, dict) else None return isinstance(entries, list) and bool(entries)