Test work around for missing imports when the GitHub actions are running, part 2

This commit is contained in:
StableLlama
2025-05-25 14:56:15 +02:00
parent 42fa147352
commit 48c68f3e5c
16 changed files with 207 additions and 17 deletions
+12 -1
View File
@@ -1,6 +1,17 @@
from typing import Any
from inspect import cleandoc
from comfy.comfy_types.node_typing import IO, ComfyNodeABC
try:
from comfy.comfy_types.node_typing import IO, ComfyNodeABC
except:
class IO:
BOOLEAN = "BOOLEAN"
INT = "INT"
FLOAT = "FLOAT"
STRING = "STRING"
NUMBER = "FLOAT,INT"
ANY = "*"
ComfyNodeABC = object
class CastToBoolean(ComfyNodeABC):
"""