from abc import abstractmethod
from typing import Iterable
[docs]
class DatasetLoader:
"""When implementing a new Dataset Loader, inherit from this one and implement all the abstract methods."""
[docs]
@abstractmethod
def load_dataset(self) -> Iterable[dict[str, any]]:
pass