Curso-lenguaje-python/catch-all/06_bots_telegram/07_movie2_bot/miners/Miner.py

21 lines
321 B
Python
Raw Normal View History

2024-07-30 00:43:20 +02:00
from abc import ABCMeta, abstractmethod
class Miner(object):
__metaclass__ = ABCMeta
handle = None
@abstractmethod
def top_list(self, number):
pass
@abstractmethod
def get_movie_id(self, index):
pass
@abstractmethod
def get_movie_by_id(self, movie_id):
pass