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 39a5f63de6f..510a7332552 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/provider_interface.py +++ b/openbb_sdk/sdk/core/openbb_core/app/provider_interface.py @@ -1,9 +1,9 @@ from dataclasses import dataclass, make_dataclass -from typing import Any, Callable, Dict, List, Literal, Optional, Tuple, Union +from typing import Any, Dict, List, Literal, Optional, Tuple, Union from fastapi import Query from openbb_provider.map import build_provider_mapping -from openbb_provider.registry import build_provider_registry +from openbb_provider.registry import build_provider_registry, ProviderRegistry from pydantic import BaseConfig, BaseModel, Extra, Field, create_model @@ -113,7 +113,7 @@ class ProviderInterface: def models(self) -> List[str]: return list(self.__map.keys()) - def create_registry(self) -> Callable: + def create_registry(self) -> ProviderRegistry: return build_provider_registry() @staticmethod