refactor: replace bare dict with typed annotations in core plugin module (#35096)

This commit is contained in:
dataCenter430
2026-04-13 19:23:21 +00:00
committed by GitHub
parent a12d740a5d
commit 83b242be7b
9 changed files with 26 additions and 13 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class PluginModelClient(BasePluginClient):
return None
def validate_provider_credentials(
self, tenant_id: str, user_id: str | None, plugin_id: str, provider: str, credentials: dict
self, tenant_id: str, user_id: str | None, plugin_id: str, provider: str, credentials: dict[str, Any]
) -> bool:
"""
validate the credentials of the provider