File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,21 @@ def define_schema(cls):
234234 def execute (cls , combo : io .Combo .Type , combo2 : io .Combo .Type ) -> io .NodeOutput :
235235 return io .NodeOutput (combo , combo2 )
236236
237+ class AnyTypeTestNode (io .ComfyNode ):
238+ @classmethod
239+ def define_schema (cls ):
240+ return io .Schema (
241+ node_id = "AnyNodeTestNode" ,
242+ display_name = "AnyNodeTest" ,
243+ category = "logic" ,
244+ inputs = [io .AnyType .Input ("any" )],
245+ outputs = [io .AnyType .Output ()],
246+ )
247+
248+ @classmethod
249+ def execute (cls , any : io .AnyType .Type ) -> io .NodeOutput :
250+ return io .NodeOutput (any )
251+
237252class LogicExtension (ComfyExtension ):
238253 @override
239254 async def get_node_list (self ) -> list [type [io .ComfyNode ]]:
@@ -246,6 +261,7 @@ async def get_node_list(self) -> list[type[io.ComfyNode]]:
246261 AutogrowPrefixTestNode ,
247262 ComboOutputTestNode ,
248263 MatchTypeTestNode ,
264+ AnyTypeTestNode ,
249265 ]
250266
251267async def comfy_entrypoint () -> LogicExtension :
You can’t perform that action at this time.
0 commit comments