mirror of
https://github.com/Findus23/RadioStats.git
synced 2024-09-19 16:03:48 +02:00
11 lines
264 B
Python
11 lines
264 B
Python
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
|