init (pre-existing): added template oop implementation
This commit is contained in:
commit
0625362cda
13 changed files with 178 additions and 0 deletions
11
src/core/provider.py
Normal file
11
src/core/provider.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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')
|
||||
Loading…
Add table
Add a link
Reference in a new issue