加个 annotations

This commit is contained in:
shenjack 2024-11-17 20:22:34 +08:00
parent 0e642f8611
commit a1c3fb4aab
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -4,6 +4,9 @@
# All rights reserved # All rights reserved
# ------------------------------- # -------------------------------
from __future__ import annotations
# 兼容 3.8
from typing import TYPE_CHECKING from typing import TYPE_CHECKING
if TYPE_CHECKING: if TYPE_CHECKING: