init (pre-existing): added template oop implementation

This commit is contained in:
do butterflies cry? 2025-07-06 21:29:08 +10:00
commit 0625362cda
13 changed files with 178 additions and 0 deletions

11
src/core/provider.py Normal file
View 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')