config.py 549 B

12345678910111213141516
  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.Component.config_scheduler import Scheduler
  6. from tasks.Component.config_base import ConfigBase
  7. class SixRealmsGate(BaseModel):
  8. # 还没想好
  9. greed_maneki: bool = Field(default=False, description="greed_maneki_help")
  10. class SoulsTidy(ConfigBase):
  11. scheduler: Scheduler = Field(default_factory=Scheduler)
  12. # six_realms_gate: SixRealmsGate = Field(default_factory=SixRealmsGate)