Skip to content
Snippets Groups Projects
project_fetcher.py 317 B
Newer Older
Gaëtan Blond's avatar
Gaëtan Blond committed
from abc import ABCMeta, abstractmethod
from typing import List

from ..entry import Entry


class ProjectFetcher(metaclass=ABCMeta):
    def __init__(self, feed_id: int, name: str):
        self.feed_id = feed_id
        self.name = name

    @abstractmethod
    def fetch_entries(self) -> List[Entry]:
        pass