ComfyUI Node: values

Class Name

Basic data handling: DictValues

Category
Basic/DICT
Author
StableLlama (Account age: 861days)
Extension
Basic data handling
Latest Updated
2026-05-07
Github Stars
0.04K

How to Install Basic data handling

Install this extension via the ComfyUI Manager by searching for Basic data handling
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Basic data handling in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

values Description

The `DictValues` node extracts and returns dictionary values as a list for simplified data handling.

values:

The DictValues node is designed to efficiently extract and return all the values from a given dictionary. This node is particularly useful when you need to work with the values of a dictionary independently from their keys, allowing you to focus on the data itself rather than its structure. By providing a straightforward method to access these values, the DictValues node simplifies data handling tasks, making it easier to manipulate and analyze the contents of a dictionary. This functionality is essential for scenarios where the values hold the primary significance, such as when performing calculations, aggregations, or transformations on the data. The node's capability to return values as a list ensures compatibility with various operations and further processing steps, enhancing its utility in data workflows.

values Input Parameters:

input_dict

The input_dict parameter is the dictionary from which you want to extract values. It serves as the primary input for the node, and its contents determine the output list of values. This parameter is crucial because it defines the dataset you are working with, and any changes to the dictionary will directly affect the results produced by the node. There are no specific minimum, maximum, or default values for this parameter, as it can accept any dictionary structure. However, it is important to ensure that the dictionary is correctly formatted and contains the data you wish to process.

values Output Parameters:

LIST

The output of the DictValues node is a list containing all the values from the input dictionary. This list is generated by extracting each value associated with the keys in the dictionary, providing a streamlined view of the data. The importance of this output lies in its ability to separate the values from their keys, allowing for focused data manipulation and analysis. The list format is versatile and can be easily integrated into subsequent processing steps, making it a valuable output for various applications.

values Usage Tips:

  • Ensure that the input dictionary is correctly structured and contains the data you need, as the node will return all values without filtering or modification.
  • Use the output list in conjunction with other nodes or processes that require value-based operations, such as calculations or data transformations.

values Common Errors and Solutions:

TypeError: 'NoneType' object is not iterable

  • Explanation: This error occurs when the input dictionary is None or not properly initialized, leading to an attempt to iterate over a non-existent object.
  • Solution: Verify that the input dictionary is correctly defined and contains valid data before passing it to the node.

KeyError: 'input_dict'

  • Explanation: This error indicates that the required input_dict parameter is missing or incorrectly specified.
  • Solution: Ensure that the input_dict parameter is provided and correctly named in the node's input configuration.

values Related Nodes

Go back to the extension to check out more related nodes.
Basic data handling
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

values