config.py 726 B

12345678910111213141516171819202122232425262728293031
  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. from tasks.Component.SwitchSoul.switch_soul_config import SwitchSoulConfig
  8. # class SixRealmsGate(BaseModel):
  9. # # 还没想好
  10. # greed_maneki: bool = Field(default=False, description="greed_maneki_help")
  11. class SixRealms(ConfigBase):
  12. scheduler: Scheduler = Field(default_factory=Scheduler)
  13. switch_soul_config: SwitchSoulConfig = Field(default_factory=SwitchSoulConfig)
  14. # six_realms_gate: SixRealmsGate = Field(default_factory=SixRealmsGate)