diff options
| author | 2024-06-28 16:02:51 +0800 | |
|---|---|---|
| committer | 2024-06-28 16:02:51 +0800 | |
| commit | a53bc2df778248a81d7d2f25bbe03223912efcdc (patch) | |
| tree | 72d41eafb1872b8272b36ef319ef4beb0b4555e8 /hrc/rule/__init__.py | |
| parent | 2827c09958aa6778e4499d34f5949d6f5677f2c6 (diff) | |
| download | HydroRollCore-a53bc2df778248a81d7d2f25bbe03223912efcdc.tar.gz HydroRollCore-a53bc2df778248a81d7d2f25bbe03223912efcdc.zip | |
fix: repair incorrect module import path
Diffstat (limited to 'hrc/rule/__init__.py')
| -rw-r--r-- | hrc/rule/__init__.py | 10 |
1 files changed, 2 insertions, 8 deletions
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 |
