aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-12-18 02:11:53 +0800
committer简律纯 <i@jyunko.cn>2023-12-18 02:11:53 +0800
commit764cbb8a97c7a56fe7ac103815c15c79ddae15e9 (patch)
tree144018313a6e7412162ffe3b58d66a785fb9a1c9
parente7dc63bc0247f9e7005a473480f4f7bd189c9aa4 (diff)
downloadinfini-764cbb8a97c7a56fe7ac103815c15c79ddae15e9.tar.gz
infini-764cbb8a97c7a56fe7ac103815c15c79ddae15e9.zip
chore(event): add annotation
-rw-r--r--src/infini/event.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/infini/event.py b/src/infini/event.py
index b7956c64..5ef9444e 100644
--- a/src/infini/event.py
+++ b/src/infini/event.py
@@ -1,3 +1,9 @@
+"""Infini 事件模块
+
+此模块定义了 Infini 的事件类,包括 InfiniEvent, MessageEvent, WorkflowEvent 和 MatcherEvent。
+这些事件类用于在 Infini 框架中处理各种事件。
+"""
+
from abc import ABCMeta, abstractmethod
from .typing import Dict, Any