ComfyUI/comfy_execution
bymyself 8b3c5dda36 fix: count non-dict items in outputs_count
Move count increment before isinstance(item, dict) check so that
non-dict output items (like text strings from PreviewAny node)
are included in outputs_count.

This aligns OSS Python with Cloud's Go implementation which uses
len(itemsArray) to count ALL items regardless of type.

Amp-Thread-ID: https://ampcode.com/threads/T-019c0bb5-14e0-744f-8808-1e57653f3ae3
Co-authored-by: Amp <amp@ampcode.com>
2026-01-29 14:03:29 -08:00
..
caching.py caching: Handle None outputs tuple case (#10637) 2025-11-04 14:14:10 -08:00
graph_utils.py V3 Node Schema Definition - initial (#8656) 2025-07-31 18:02:12 -04:00
graph.py New Year ruff cleanup. (#11595) 2026-01-01 22:06:14 -05:00
jobs.py fix: count non-dict items in outputs_count 2026-01-29 14:03:29 -08:00
progress.py Fix progress update crossover between users (#9706) 2025-09-04 19:13:28 -04:00
utils.py Support for async node functions (#8830) 2025-07-10 14:46:19 -04:00
validation.py V3 Improvements + DynamicCombo + Autogrow exposed in public API (#11345) 2025-12-30 23:09:55 -05:00