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,5 +1,16 @@
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 StringCapitalize(ComfyNodeABC):
"""Converts the first character of the input string to uppercase and all other characters to lowercase."""