feat,fix(core,docs): 完善核心模块代码注释并添加架构改进文档
- 为 core 目录下主要模块 (models, context, creator, base_api, exchange, executor) 添加了详细的类和方法 Docstring。 - 新增 docs/架构改进.md 文件。
This commit is contained in:
@@ -22,6 +22,12 @@ class VariableStore:
|
||||
"""内存变量仓库:负责 L2 缓存与磁盘的唯一交互"""
|
||||
|
||||
def __init__(self, seed_file: Path):
|
||||
"""
|
||||
初始化变量仓库。
|
||||
|
||||
Args:
|
||||
seed_file: 初始变量文件路径(YAML格式),用于加载种子数据。
|
||||
"""
|
||||
self.seed_file = seed_file
|
||||
self.processor = YamlProcessor(seed_file)
|
||||
# 启动时仅加载一次
|
||||
|
||||
Reference in New Issue
Block a user