mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-12 12:22:35 +00:00
remove mode_name prop
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
"""Abstract class for the fetcher."""
|
||||
|
||||
|
||||
from abc import abstractmethod
|
||||
from typing import Any, Dict, Generic, List, Optional, TypeVar, Union
|
||||
|
||||
from openbb_provider.abstract.data import Data, QueryParams
|
||||
@@ -24,11 +23,6 @@ class Fetcher(
|
||||
):
|
||||
"""Abstract class for the fetcher."""
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def model_name(self) -> str:
|
||||
raise NotImplementedError
|
||||
|
||||
@staticmethod
|
||||
def transform_query(params: Dict[str, Any]) -> ProviderQueryParamsType:
|
||||
"""Transform the params to the provider-specific query."""
|
||||
|
||||
Reference in New Issue
Block a user