From 76fd7a48080e2cdacaaa6b31e40e09f093bce8f1 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Fri, 21 Jul 2023 14:07:46 +0100 Subject: [PATCH] complete docstring and fix typing: provider interface --- openbb_sdk/sdk/core/openbb_core/app/provider_interface.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openbb_sdk/sdk/core/openbb_core/app/provider_interface.py b/openbb_sdk/sdk/core/openbb_core/app/provider_interface.py index 760f6d88217..9bf7994ba9b 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/provider_interface.py +++ b/openbb_sdk/sdk/core/openbb_core/app/provider_interface.py @@ -52,6 +52,8 @@ class ProviderInterface: ---------- map : Dict[str, Dict[str, Dict[str, Any]]] Dictionary of provider information. + credentials: Dict[str, Tuple[Optional[str], None]] + Dictionary of credentials. model_providers : Dict[str, ProviderChoices] Dictionary of provider choices by model. params : Dict[str, Dict[str, Union[StandardParams, ExtraParams]]] @@ -85,8 +87,8 @@ class ProviderInterface: return self.__map @property - def credentials(self) -> Dict[str, None]: - """Dictionary of credentials.""" + def credentials(self) -> Dict[str, Tuple[Optional[str], None]]: + """Dictionary of credentials by provider.""" return self.__credentials @property