config.py 286 B

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