diff options
| author | 2024-09-19 14:44:33 +0800 | |
|---|---|---|
| committer | 2024-09-19 14:44:33 +0800 | |
| commit | e9a780496f7ce067e0d8d51ce1d62e48c9f2a8d9 (patch) | |
| tree | a3e31e07fd001baa1cfce9ceebcdfed58b50bcda /hrc/rule/__init__.py | |
| parent | 9e18d7ebf7a17bb7d7d169da3a3cefde0956a9f9 (diff) | |
| download | HydroRollCore-e9a780496f7ce067e0d8d51ce1d62e48c9f2a8d9.tar.gz HydroRollCore-e9a780496f7ce067e0d8d51ce1d62e48c9f2a8d9.zip | |
feat(core): Implement Service class and related functionalities
Co-authored-by: yuzhe <YUZHEthefool@users.noreply.github.com>
Diffstat (limited to 'hrc/rule/__init__.py')
| -rw-r--r-- | hrc/rule/__init__.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/hrc/rule/__init__.py b/hrc/rule/__init__.py index e144091..282e3e2 100644 --- a/hrc/rule/__init__.py +++ b/hrc/rule/__init__.py @@ -3,8 +3,8 @@ from typing import Generic, Any, Type from abc import ABC -from . import BaseRule # noqa: F401 -from ..typing import RuleT # noqa: F401 +from hrc.rule import BaseRule # noqa: F401 +from hrc.typing import RuleT # noqa: F401 import inspect from abc import abstractmethod # noqa: F401 @@ -20,16 +20,16 @@ from typing import ( ) from typing_extensions import Annotated, get_args, get_origin -from ..config import ConfigModel +from hrc.config import ConfigModel -from ..dependencies import Depends -from ..event import Event -from ..exceptions import SkipException, StopException -from ..typing import ConfigT, EventT, StateT -from ..utils import is_config_class +from hrc.dependencies import Depends +from hrc.event import Event +from hrc.exceptions import SkipException, StopException +from hrc.typing import ConfigT, EventT, StateT +from hrc.utils import is_config_class if TYPE_CHECKING: - from ..core import Core + from hrc.core import Core class RuleLoadType(Enum): |
