aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hrc/rule
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-06-28 16:02:51 +0800
committer简律纯 <i@jyunko.cn>2024-06-28 16:02:51 +0800
commita53bc2df778248a81d7d2f25bbe03223912efcdc (patch)
tree72d41eafb1872b8272b36ef319ef4beb0b4555e8 /hrc/rule
parent2827c09958aa6778e4499d34f5949d6f5677f2c6 (diff)
downloadHydroRollCore-a53bc2df778248a81d7d2f25bbe03223912efcdc.tar.gz
HydroRollCore-a53bc2df778248a81d7d2f25bbe03223912efcdc.zip
fix: repair incorrect module import path
Diffstat (limited to 'hrc/rule')
-rw-r--r--hrc/rule/BaseRule/__init__.py3
-rw-r--r--hrc/rule/__init__.py10
2 files changed, 5 insertions, 8 deletions
diff --git a/hrc/rule/BaseRule/__init__.py b/hrc/rule/BaseRule/__init__.py
new file mode 100644
index 0000000..fbb8df2
--- /dev/null
+++ b/hrc/rule/BaseRule/__init__.py
@@ -0,0 +1,3 @@
+from . import CharacterCard
+from . import CustomRule
+from . import Wiki \ No newline at end of file
diff --git a/hrc/rule/__init__.py b/hrc/rule/__init__.py
index 473d143..5382c27 100644
--- a/hrc/rule/__init__.py
+++ b/hrc/rule/__init__.py
@@ -4,13 +4,7 @@ from typing import Generic, Any, Type
from abc import ABC
from . import BaseRule
-from ..typing import RulesT
-
-
-"""iamai 插件。
-
-所有 iamai 插件的基类。所有用户编写的插件必须继承自 `Plugin` 类。
-"""
+from ..typing import RuleT
import inspect
from abc import ABC, abstractmethod
@@ -30,7 +24,7 @@ from typing import (
from typing_extensions import Annotated, get_args, get_origin
from ..config import ConfigModel
-from ..dependencies import Depends
+# from ..dependencies import Depends
from ..event import Event
from ..exceptions import SkipException, StopException
from ..typing import ConfigT, EventT, StateT