12 lines
320 B
Python
12 lines
320 B
Python
|
|
from core.mirror import Mirror
|
||
|
|
|
||
|
|
'''
|
||
|
|
A provider can have multiple mirrors
|
||
|
|
'''
|
||
|
|
class Provider:
|
||
|
|
name = 'ProviderTemplate'
|
||
|
|
def __init__(self) -> None:
|
||
|
|
pass
|
||
|
|
def GetMirrors(self) -> list[str]:
|
||
|
|
raise NotImplementedError(f'method GetMirrors not implemented for {self.name} inheriting from Provider')
|