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
+14 -2
View File
@@ -1,7 +1,19 @@
from typing import Any
from inspect import cleandoc
from comfy.comfy_types.node_typing import IO, ComfyNodeABC
from comfy_execution.graph import ExecutionBlocker
try:
from comfy.comfy_types.node_typing import IO, ComfyNodeABC
from comfy_execution.graph import ExecutionBlocker
except:
class IO:
BOOLEAN = "BOOLEAN"
INT = "INT"
FLOAT = "FLOAT"
STRING = "STRING"
NUMBER = "FLOAT,INT"
ANY = "*"
ComfyNodeABC = object
ExecutionBlocker = lambda x: x
class IfElse(ComfyNodeABC):