mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-18 02:23:06 +08:00
Fix merge regression with LatentUpscaleModel type not being put in __all__ for _io.py, fix invalid type hint for validate_inputs
This commit is contained in:
parent
02159fc154
commit
cb7e7a0ff3
@ -1705,7 +1705,7 @@ class ComfyNode(_ComfyNodeBaseInternal):
|
|||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def validate_inputs(cls, **kwargs) -> bool:
|
def validate_inputs(cls, **kwargs) -> bool | str:
|
||||||
"""Optionally, define this function to validate inputs; equivalent to V1's VALIDATE_INPUTS."""
|
"""Optionally, define this function to validate inputs; equivalent to V1's VALIDATE_INPUTS."""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
@ -1820,6 +1820,7 @@ __all__ = [
|
|||||||
"StyleModel",
|
"StyleModel",
|
||||||
"Gligen",
|
"Gligen",
|
||||||
"UpscaleModel",
|
"UpscaleModel",
|
||||||
|
"LatentUpscaleModel",
|
||||||
"Audio",
|
"Audio",
|
||||||
"Video",
|
"Video",
|
||||||
"SVG",
|
"SVG",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user