Compare commits

..

1 Commits

Author SHA1 Message Date
rewolf
32aa3ab807
Merge ad1102fc1d into e346d8584e 2025-04-10 00:23:07 +02:00
2 changed files with 3 additions and 7 deletions

View File

@ -102,13 +102,9 @@ class InputTypeOptions(TypedDict):
default: bool | str | float | int | list | tuple
"""The default value of the widget"""
defaultInput: bool
"""@deprecated in v1.16 frontend. v1.16 frontend allows input socket and widget to co-exist.
- defaultInput on required inputs should be dropped.
- defaultInput on optional inputs should be replaced with forceInput.
Ref: https://github.com/Comfy-Org/ComfyUI_frontend/pull/3364
"""
"""Defaults to an input slot rather than a widget"""
forceInput: bool
"""Forces the input to be an input slot rather than a widget even a widget is available for the input type."""
"""`defaultInput` and also don't allow converting to a widget"""
lazy: bool
"""Declares that this input uses lazy evaluation"""
rawLink: bool

View File

@ -2137,7 +2137,7 @@ def load_custom_node(module_path: str, ignore=set(), module_parent="custom_nodes
module_name = sp[0]
sys_module_name = module_name
elif os.path.isdir(module_path):
sys_module_name = module_path.replace(".", "_x_")
sys_module_name = module_path
try:
logging.debug("Trying to load custom node {}".format(module_path))