diff options
| author | 2024-07-06 09:50:39 +0800 | |
|---|---|---|
| committer | 2024-07-06 09:50:39 +0800 | |
| commit | 7e655c96fa5fab04bde014b62c8db3f4b352a5dc (patch) | |
| tree | 37fc8615d32dbb230ef34f2ac74039a3351a24ef /examples/rules | |
| parent | e44fe8dfba3a56da39f444cfeb62acd0945a9462 (diff) | |
| download | HydroRollCore-7e655c96fa5fab04bde014b62c8db3f4b352a5dc.tar.gz HydroRollCore-7e655c96fa5fab04bde014b62c8db3f4b352a5dc.zip | |
refactor(core): fix AttributeError: wrong 'rule_disable_hook_func' method
Diffstat (limited to 'examples/rules')
| -rw-r--r-- | examples/rules/BRP/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/rules/BRP/__init__.py b/examples/rules/BRP/__init__.py new file mode 100644 index 0000000..54f2261 --- /dev/null +++ b/examples/rules/BRP/__init__.py @@ -0,0 +1,6 @@ +from hrc.rule import Rule + +class BRP(Rule): + async def handle(self) -> None: ... + + async def rule(self) -> bool: return False
\ No newline at end of file |
