fix (frozen=True, slots=True)

This commit is contained in:
2026-09-05 13:56:04 +08:00
parent 58e1e3e291
commit 2059f87fe5
8 changed files with 23 additions and 23 deletions

View File

@@ -14,7 +14,7 @@ from .state import State
from .watch import DipWatch
@dataclass(slots=True)
@dataclass(frozen=True, slots=True)
class Runtime:
"""集中保存趋势策略运行期间共享的依赖和状态。