diff options
| author | 2024-07-19 08:38:32 +0800 | |
|---|---|---|
| committer | 2024-07-19 08:38:32 +0800 | |
| commit | cacd6c29e41fb9460e4454668c4c47dce77fd798 (patch) | |
| tree | 5c219d3dfd3a943295c8c90add4c5dc198b421f9 | |
| parent | 5330a73f31ce24ac6086aeb5428752d52918b5b2 (diff) | |
| download | HydroRollCore-cacd6c29e41fb9460e4454668c4c47dce77fd798.tar.gz HydroRollCore-cacd6c29e41fb9460e4454668c4c47dce77fd798.zip | |
chore(core): Add assignees for each TODO
| -rw-r--r-- | hrc/core.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hrc/core.py b/hrc/core.py index e26bae7..6efb4af 100644 --- a/hrc/core.py +++ b/hrc/core.py @@ -158,7 +158,7 @@ class Core: await core_run_hook_func(self) try: - # TODO: builtin rule enable hook function in every rules packages. + # TODO(简律纯): builtin rule enable hook function in every rules packages. # for _rule in self.rules: # for rule_enable_hook_func in self._rule_enable_hooks: # await rule_enable_hook_func(_rule) @@ -167,7 +167,7 @@ class Core: # except Exception as e: # self.error_or_exception( # f"Enable rule {_rule!r} failed:", e) - # TODO: builtin rule run hook function in every rules packages. + # TODO(简律纯): builtin rule run hook function in every rules packages. # for _rule in self.rules: # for rule_run_hook_func in self._rule_run_hooks: # await rule_run_hook_func(_rule) @@ -180,7 +180,7 @@ class Core: if hot_reload_task is not None: # pragma: no cover await hot_reload_task finally: - # TODO: builtin rule disable hook function in every rules packages. + # TODO(简律纯): builtin rule disable hook function in every rules packages. # for _rule in self.rules: # for rule_disable_hook_func in self._rule_disable_hooks: # await rule_disable_hook_func(_rule) @@ -433,7 +433,7 @@ class Core: rule_state = _rule.__init_state__() if rule_state is not None: self.rule_state[_rule.name] = rule_state - # TODO: Refactor event handle process + # TODO(简律纯): Refactor event handle process if await _rule.rule(): logger.info(f"Event will be handled by {_rule!r}") try: |
