From fae8d2273dfad2dd0cf9709f15e24640e7ebfd8d Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Mon, 15 Jul 2024 18:38:53 +0800 Subject: feat(Improve the underlying business directory): Improve the underlying business directory Add { doc | feat | perf | dev } mods --- hrc/rule/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hrc') diff --git a/hrc/rule/__init__.py b/hrc/rule/__init__.py index ecced24..4b3d259 100644 --- a/hrc/rule/__init__.py +++ b/hrc/rule/__init__.py @@ -154,6 +154,12 @@ class Rule(ABC, Generic[EventT, StateT, ConfigT]): It is not recommended to implement event processing directly in this method. Please leave the specific processing of events to the ``handle()`` method. """ raise NotImplementedError + + @staticmethod + async def enable(): ... + + @staticmethod + async def disable(): ... @staticmethod def aliases(names, ignore_case=False): -- cgit v1.2.3-70-g09d2