Hermes 187f37f8e7 fix: add 'from __future__ import annotations' for Python <3.10
PEP 585 内建泛型 (tuple[str, str], dict[str, int]) 在 Python 3.9 之前不支持。
PEP 563 让所有 type hint 变成字符串, 兼容 Python 3.7+。

错误: 'type' object is not subscriptable
影响: app.py:1184 start_email_scheduler() -> import mailer -> mailer.py:417
修复: mailer.py / app.py 顶部加 from __future__ import annotations
2026-07-08 12:13:31 +08:00
S
Description
No description provided
492 KiB
0.0.1 Latest
2026-07-15 12:18:57 +08:00
Languages
Python 56%
HTML 26.6%
CSS 12.8%
Shell 4.6%