Test work around for missing imports when the GitHub actions are running, part 2
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user