Skip to content

Commit 54c26fb

Browse files
author
Peyton
committed
Small comment update to clarify how load order is decided.
1 parent a136031 commit 54c26fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate_python_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def dfs(key: str) -> None:
104104
# Add the key and its corresponding data to the load order list.
105105
load_order.append((key, data[key], is_loader))
106106

107-
# Load Loader keys first
107+
# Load Loader, encoder, and keys without dependenciesfirst
108108
for key in data:
109109
class_def = NODE_CLASS_MAPPINGS[data[key]['class_type']]()
110110
if class_def.CATEGORY == 'loaders' or class_def.FUNCTION in ['encode'] or not any(isinstance(val, list) for val in data[key]['inputs'].values()):

0 commit comments

Comments
 (0)