comfy_api: remove usage of "Type","List" and "Dict" types (#11238)

This commit is contained in:
Alexander Piskun
2025-12-16 02:01:10 +02:00
committed by GitHub
parent dbd330454a
commit 43e0d4e3cc
8 changed files with 38 additions and 40 deletions

View File

@@ -2,9 +2,8 @@ from comfy_api.latest import ComfyAPI_latest
from comfy_api.v0_0_2 import ComfyAPIAdapter_v0_0_2
from comfy_api.v0_0_1 import ComfyAPIAdapter_v0_0_1
from comfy_api.internal import ComfyAPIBase
from typing import List, Type
supported_versions: List[Type[ComfyAPIBase]] = [
supported_versions: list[type[ComfyAPIBase]] = [
ComfyAPI_latest,
ComfyAPIAdapter_v0_0_2,
ComfyAPIAdapter_v0_0_1,