config.py 373 B

123456789101112
  1. # This Python file uses the following encoding: utf-8
  2. # @author runhey
  3. # github https://github.com/runhey
  4. from datetime import timedelta
  5. from pydantic import BaseModel, Field
  6. from tasks.Component.config_scheduler import Scheduler
  7. from tasks.Component.config_base import ConfigBase
  8. class SoulsTidy(ConfigBase):
  9. scheduler: Scheduler = Field(default_factory=Scheduler)