This commit is contained in:
2022-01-19 21:54:45 +03:00
parent e21cbf17cc
commit abb6ddda42
11 changed files with 201 additions and 58 deletions

View File

@@ -1,11 +1,8 @@
from enum import Enum
from app.services.updaters.base import BaseUpdater
from app.services.updaters.fl_updater import FlUpdater
class UpdaterTypes(Enum):
FL = "fl"
UPDATERS: dict[UpdaterTypes, BaseUpdater] = {UpdaterTypes.FL: FlUpdater}
UPDATERS: dict[UpdaterTypes, str] = {UpdaterTypes.FL: "run_fl_update"}