Explorar el Código

feat(SixRealms): Init

huangrunheng hace 2 años
padre
commit
b265aad7f6
Se han modificado 3 ficheros con 19 adiciones y 0 borrados
  1. 16 0
      tasks/SixRealms/config.py
  2. 0 0
      tasks/SixRealms/gate1/image.json
  3. 3 0
      tasks/SixRealms/script_task.py

+ 16 - 0
tasks/SixRealms/config.py

@@ -0,0 +1,16 @@
+# This Python file uses the following encoding: utf-8
+# @author runhey
+# github https://github.com/runhey
+from pydantic import BaseModel, Field
+
+from tasks.Component.config_scheduler import Scheduler
+from tasks.Component.config_base import ConfigBase
+
+class SixRealmsGate(BaseModel):
+    # 还没想好
+    greed_maneki: bool = Field(default=False, description="greed_maneki_help")
+
+
+class SoulsTidy(ConfigBase):
+    scheduler: Scheduler = Field(default_factory=Scheduler)
+    # six_realms_gate: SixRealmsGate = Field(default_factory=SixRealmsGate)

+ 0 - 0
tasks/SixRealms/gate1/image.json


+ 3 - 0
tasks/SixRealms/script_task.py

@@ -0,0 +1,3 @@
+# This Python file uses the following encoding: utf-8
+# @author runhey
+# github https://github.com/runhey