File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1248,6 +1248,7 @@ class Hidden(str, Enum):
12481248class NodeInfoV1 :
12491249 input : dict = None
12501250 input_order : dict [str , list [str ]]= None
1251+ is_input_list : bool = None
12511252 output : list [str ]= None
12521253 output_is_list : list [bool ]= None
12531254 output_name : list [str ]= None
@@ -1474,6 +1475,7 @@ def get_v1_info(self, cls) -> NodeInfoV1:
14741475 info = NodeInfoV1 (
14751476 input = input ,
14761477 input_order = {key : list (value .keys ()) for (key , value ) in input .items ()},
1478+ is_input_list = self .is_input_list ,
14771479 output = output ,
14781480 output_is_list = output_is_list ,
14791481 output_name = output_name ,
Original file line number Diff line number Diff line change @@ -656,6 +656,7 @@ def node_info(node_class):
656656 info = {}
657657 info ['input' ] = obj_class .INPUT_TYPES ()
658658 info ['input_order' ] = {key : list (value .keys ()) for (key , value ) in obj_class .INPUT_TYPES ().items ()}
659+ info ['is_input_list' ] = getattr (obj_class , "INPUT_IS_LIST" , False )
659660 info ['output' ] = obj_class .RETURN_TYPES
660661 info ['output_is_list' ] = obj_class .OUTPUT_IS_LIST if hasattr (obj_class , 'OUTPUT_IS_LIST' ) else [False ] * len (obj_class .RETURN_TYPES )
661662 info ['output_name' ] = obj_class .RETURN_NAMES if hasattr (obj_class , 'RETURN_NAMES' ) else info ['output' ]
You can’t perform that action at this time.
0 commit comments