The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix custom node type-hinting examples (#6281)
filtered67758f50f3d6
diff --git a/comfy/comfy_types/README.md b/comfy/comfy_types/README.mdindex 869851e7c..20a786a5e 100644--- a/comfy/comfy_types/README.md+++ b/comfy/comfy_types/README.md@@ -5,7 +5,7 @@ This module provides type hinting and concrete convenience types for node develoIf cloned to the custom_nodes directory of ComfyUI, types can be imported using:```python-from comfy_types import IO, ComfyNodeABC, CheckLazyMixin+from comfy.comfy_types import IO, ComfyNodeABC, CheckLazyMixinclass ExampleNode(ComfyNodeABC):@classmethoddiff --git a/comfy/comfy_types/examples/example_nodes.py b/comfy/comfy_types/examples/example_nodes.pyindex b6465f39e..6e19c5451 100644--- a/comfy/comfy_types/examples/example_nodes.py+++ b/comfy/comfy_types/examples/example_nodes.py@@ -1,12 +1,12 @@-from comfy_types import IO, ComfyNodeABC, InputTypeDict+from comfy.comfy_types import IO, ComfyNodeABC, InputTypeDictfrom inspect import cleandocclass ExampleNode(ComfyNodeABC):"""An example node that just adds 1 to an input integer.- * Requires an IDE configured with analysis paths etc to be worth looking at.- * Not intended for use in ComfyUI.+ * Requires a modern IDE to provide any benefit (detail: an IDE configured with analysis paths etc).+ * This node is intended as an example for developers only."""DESCRIPTION = cleandoc(__doc__)