aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hrc/typing.py
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-06-26 09:20:15 +0800
committer简律纯 <i@jyunko.cn>2024-06-26 09:20:15 +0800
commitdcadac73813291a86a4ab3aca44706fc9b8e3b5e (patch)
tree44aaffb958b1375c0124f93fe8079205e9453b85 /hrc/typing.py
parenta2477b28057251c4685dbf0b56359dee7b595bfa (diff)
downloadHydroRollCore-dcadac73813291a86a4ab3aca44706fc9b8e3b5e.tar.gz
HydroRollCore-dcadac73813291a86a4ab3aca44706fc9b8e3b5e.zip
chore(docs): add structures.svg and contributing guidance
Diffstat (limited to 'hrc/typing.py')
-rw-r--r--hrc/typing.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/hrc/typing.py b/hrc/typing.py
index e69de29..b3ced30 100644
--- a/hrc/typing.py
+++ b/hrc/typing.py
@@ -0,0 +1,7 @@
+from typing import TypeVar, Generic, Any, TYPE_CHECKING, Awaitable, Callable, Optional
+
+if TYPE_CHECKING:
+ from .rules import Rules
+
+
+RulesT = TypeVar("RulesT", bound="Rules[Any]") \ No newline at end of file