mirror of
https://github.com/flibusta-apps/library_updater.git
synced 2025-12-08 09:30:45 +01:00
Init
This commit is contained in:
13
src/app/services/updaters/__init__.py
Normal file
13
src/app/services/updaters/__init__.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from enum import Enum
|
||||
|
||||
from app.services.updaters.base import BaseUpdater
|
||||
from app.services.updaters.flibusta_updater import FlibustaUpdater
|
||||
|
||||
|
||||
class UpdaterTypes(Enum):
|
||||
FLIBUSTA = 'flibusta'
|
||||
|
||||
|
||||
UPDATERS: dict[UpdaterTypes, BaseUpdater] = {
|
||||
UpdaterTypes.FLIBUSTA: FlibustaUpdater
|
||||
}
|
||||
Reference in New Issue
Block a user