diff options
| author | 2024-07-15 18:38:53 +0800 | |
|---|---|---|
| committer | 2024-07-15 18:38:53 +0800 | |
| commit | fae8d2273dfad2dd0cf9709f15e24640e7ebfd8d (patch) | |
| tree | c7e170446bcadfef013bf3290a6c4188053949cc /hrc | |
| parent | 03812119ea6e99f549793a5e7ffac4b5765fa6a3 (diff) | |
| download | HydroRollCore-fae8d2273dfad2dd0cf9709f15e24640e7ebfd8d.tar.gz HydroRollCore-fae8d2273dfad2dd0cf9709f15e24640e7ebfd8d.zip | |
feat(Improve the underlying business directory): Improve the underlying business directory
Add { doc | feat | perf | dev } mods
Diffstat (limited to 'hrc')
| -rw-r--r-- | hrc/rule/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
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): |
