14 lines
227 B
Python
14 lines
227 B
Python
|
from abc import abstractmethod, ABC
|
||
|
|
||
|
|
||
|
class Provider(ABC):
|
||
|
name = None
|
||
|
url = None
|
||
|
|
||
|
def __init__(self, settings, session):
|
||
|
self.settings = settings
|
||
|
self.session = session
|
||
|
|
||
|
@abstractmethod
|
||
|
def get_image_url(self):
|
||
|
pass
|