Pyobjects/Dict Values
Pull every value out of a dict as a list
- py_dict
- LIST
The counterpart to checking what keys are in a dict is checking what's actually stored at them. DictValuesNode does that: feed it a dict, get back a list of every value it holds, in one shot, without having to call DictGetNode once per key.
It's part of the Dict* node family in ComfyUI-LogicUtils, a data-manipulation pack by GitHub user aria1th - publicly known as AngelBottomless, the trainer behind Illustrious XL, though this corner of the pack is unrelated to that model work. These nodes wrap standard Python dict operations - .keys(), .values(), .items(), .get() - as ComfyUI graph nodes, aimed at people building programmatic or config-driven workflows rather than a straight generation pipeline. As with the rest of the pack, don't expect much beyond what the schema tells you; the README itself admits "proper documentation is being prepared, however there are too many nodes."
How it works
Wire in py_dict, and the node returns every stored value as a LIST - the direct equivalent of calling .values() on a Python dict. It's a quick way to dump everything a dict is holding at once, useful for feeding a batch of values into something that iterates over a list, or just for spot-checking that a chain of DictSetNode calls actually produced the values you expected.
Like the rest of the Dict* family, this node is flagged as an output node in ComfyUI's execution model - it runs even without anything wired to its output downstream, which is convenient if you're using it as a quick inspection step while still building out the rest of the graph.
The inputs and outputs that matter
py_dict(DICT, required) - the dict to read from.- Output: a single
LIST- every value currently stored in that dict, in whatever order Python's dict iteration gives you.
How to install it
Via ComfyUI Manager: search ComfyUI-LogicUtils, install, restart. Or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/aria1th/ComfyUI-LogicUtils
Restart ComfyUI. No model files needed - pure Python data handling, nothing to download. The README's opt-in auto-install hook (COMFYUI_LOGICUTILS_AUTO_INSTALL=1, disable with COMFYUI_LOGICUTILS_SKIP_INSTALL=1) is for other, heavier parts of the pack; this node doesn't need it.
Common issues & troubleshooting
The list comes back shorter than expected, or in an order you didn't anticipate. Values come out in whatever order the underlying dict holds them, which in modern Python is insertion order - so if you set keys in a particular sequence with DictSetNode, that's the order you'll see values in here too. If the list is shorter than expected, it likely means fewer DictSetNode calls actually ran or chained correctly than you thought.
You need to know which value belongs to which key. This node deliberately drops the keys - if you need both together, use DictItemsNode instead, which returns key/value pairs rather than values alone.
Empty list. Means the dict has no entries yet - check that whatever was supposed to populate it (a DictSetNode chain, or a merge via DictMergeNode) is actually wired in before this node, not off to the side unconnected.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| py_dict | DICT | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| LIST | LIST | — |