From 7e655c96fa5fab04bde014b62c8db3f4b352a5dc Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sat, 6 Jul 2024 09:50:39 +0800 Subject: refactor(core): fix AttributeError: wrong 'rule_disable_hook_func' method --- examples/rules/BRP/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 examples/rules/BRP/__init__.py (limited to 'examples/rules/BRP/__init__.py') 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 -- cgit v1.2.3-70-g09d2