mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 22:39:38 +00:00
remove unneded appconfig lookup
This commit is contained in:
@@ -5,7 +5,6 @@ Functionality:
|
|||||||
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from appsettings.src.config import AppConfig
|
|
||||||
from celery.schedules import crontab
|
from celery.schedules import crontab
|
||||||
from common.src.env_settings import EnvironmentSettings
|
from common.src.env_settings import EnvironmentSettings
|
||||||
from django.utils import dateformat
|
from django.utils import dateformat
|
||||||
@@ -27,9 +26,6 @@ class ScheduleBuilder:
|
|||||||
}
|
}
|
||||||
MSG = "message:setting"
|
MSG = "message:setting"
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
self.config = AppConfig().config
|
|
||||||
|
|
||||||
def update_schedule(
|
def update_schedule(
|
||||||
self, task_name: str, cron_schedule: str, schedule_conf: dict | None
|
self, task_name: str, cron_schedule: str, schedule_conf: dict | None
|
||||||
) -> None:
|
) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user