From 8e4afce66d4ccef2c3aa8d28710b0188c8fdb978 Mon Sep 17 00:00:00 2001 From: "Dr. Peter Netz" <152088022+zentrocdot@users.noreply.github.com> Date: Tue, 4 Feb 2025 18:55:07 +0100 Subject: [PATCH] Update showdatanodes.py --- nodes/showdatanodes.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/nodes/showdatanodes.py b/nodes/showdatanodes.py index 2cc0cb8..df31a3f 100644 --- a/nodes/showdatanodes.py +++ b/nodes/showdatanodes.py @@ -1,11 +1,5 @@ #!/usr/bin/python -'''Object detection node.''' -# pylint: disable=no-member -# pylint: disable=line-too-long -# pylint: disable=invalid-name -# pylint: disable=too-many-positional-arguments -# pylint: disable=too-many-arguments -# pylint: disable=too-many-locals +'''Show data nodes.''' # Import the Python modules. from typing import Any @@ -21,11 +15,8 @@ class AnyType(str): anyType = AnyType("*") def updateDataWidget(node, widget, text): - '''Raises an event to update a widget's data. + '''Triggers an event to update a widget's data. ''' - # It is my understanding that this is supposed to work via the - # "ui" return value, but that appears to be no longer the case - # in the latest version of ComfyUI. credits: exectails PromptServer.instance.send_sync("zentrocdot.data_updater.node_processed", {"node": node, "widget": widget, "text": text})