feat: fetch views manually and worker
This commit is contained in:
@@ -3,8 +3,10 @@ from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||
|
||||
from shared.config_helper import load_settings
|
||||
from shared.datebase_base import DatabaseConfig
|
||||
from shared.http_parser_base import HttpParserConfig
|
||||
from shared.logger import LoggerConfig
|
||||
from shared.telegram_base import TelegramConfig
|
||||
from shared.worker_base import WorkerConfig
|
||||
from src.adapter.jwt import JWTConfig
|
||||
|
||||
|
||||
@@ -19,7 +21,10 @@ class Settings(BaseSettings):
|
||||
db: DatabaseConfig
|
||||
logger: LoggerConfig
|
||||
telegram: TelegramConfig
|
||||
telegram_parser: HttpParserConfig
|
||||
jwt: JWTConfig
|
||||
|
||||
fetch_views_worker: WorkerConfig
|
||||
|
||||
|
||||
settings: Settings = load_settings(Settings)
|
||||
|
||||
Reference in New Issue
Block a user