Skip to content

SimilarityFetcher#

dbally.similarity.SimilarityFetcher #

Base class for all fetchers. Has to be able to fetch the data from a source and return it as a list of strings.

fetch abstractmethod async #

fetch() -> List[str]

Fetches the data from the source and returns it as a list of strings.

RETURNS DESCRIPTION
List[str]

The fetched data.

Source code in src/dbally/similarity/fetcher.py
@abc.abstractmethod
async def fetch(self) -> List[str]:
    """
    Fetches the data from the source and returns it as a list of strings.

    Returns:
        The fetched data.
    """