Source code for pyprediktormapclient.dwh.idwh
from abc import ABC, abstractmethod
from typing import Dict, List
[docs]
class IDWH(ABC):
[docs]
@abstractmethod
def version(self) -> Dict:
raise NotImplementedError("version method is not implemented")
[docs]
@abstractmethod
def fetch(self, query: str, to_dataframe: bool = False) -> List:
raise NotImplementedError("fetch method is not implemented")
[docs]
@abstractmethod
def execute(self, query: str, *args, **kwargs) -> List:
raise NotImplementedError("execute method is not implemented")