From 4f471040fced3bca2b1b3495f1fc07f9db0f1e34 Mon Sep 17 00:00:00 2001 From: Austin Mroz Date: Wed, 23 Apr 2025 18:05:48 -0500 Subject: [PATCH] [NodeDef] Add documentation on widgetType --- comfy/comfy_types/node_typing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/comfy/comfy_types/node_typing.py b/comfy/comfy_types/node_typing.py index 0bdda032e..2f61823e6 100644 --- a/comfy/comfy_types/node_typing.py +++ b/comfy/comfy_types/node_typing.py @@ -120,6 +120,9 @@ class InputTypeOptions(TypedDict): Available from frontend v1.17.5 Ref: https://github.com/Comfy-Org/ComfyUI_frontend/pull/3548 """ + widgetType: NotRequired[str] + """Specifies a type to be used for widget initialization if different from the input type. + https://github.com/Comfy-Org/ComfyUI_frontend/pull/3550""" # class InputTypeNumber(InputTypeOptions): # default: float | int min: NotRequired[float]