1
0
Fork 0
mirror of https://github.com/Findus23/RadioStats.git synced 2024-09-19 16:03:48 +02:00
RadioStats/parser/base.py

12 lines
264 B
Python
Raw Normal View History

from abc import ABC, abstractmethod
from datetime import datetime
from typing import Tuple, Iterable
from models import Channel
class BaseFetcher(ABC):
@abstractmethod
def get(self, channel: Channel) -> Iterable[Tuple[datetime, str, str]]:
pass