ComfyUI Node: extend

Class Name

Basic data handling: DataListExtend

Category
Basic/Data List
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

extend Description

DataListExtend node merges two lists into one, preserving original lists for efficient data management.

extend:

The DataListExtend node is designed to seamlessly combine two lists into a single, unified list. This node is particularly useful when you need to aggregate data from multiple sources or when you want to append elements from one list to another without altering the original lists. By leveraging this node, you can efficiently manage and manipulate data collections, ensuring that all elements from both input lists are included in the resulting list. This functionality is essential for tasks that require comprehensive data handling and integration, making it a valuable tool for AI artists who need to work with complex data structures in their creative processes.

extend Input Parameters:

list_a

list_a is the first input list that you want to extend. This parameter accepts any type of list, allowing you to include a wide range of data types. The elements from this list will be the starting point of the new extended list. There are no specific minimum or maximum values for this parameter, as it can accommodate lists of any length. If not provided, it defaults to an empty list.

list_b

list_b is the second input list whose elements will be appended to list_a. Like list_a, this parameter can accept any type of list, providing flexibility in the types of data you can combine. The elements from this list will follow those from list_a in the resulting list. There are no restrictions on the length of this list, and it defaults to an empty list if not specified.

extend Output Parameters:

list

The output parameter list is the combined list that results from appending the elements of list_b to list_a. This new list contains all elements from both input lists, preserving their order. The output is a single list that can be used for further data processing or analysis. This parameter is crucial for tasks that require a consolidated view of data from multiple sources.

extend Usage Tips:

  • Use DataListExtend when you need to merge data from different sources into a single list for easier management and analysis.
  • Ensure that both list_a and list_b are correctly populated with the data you intend to combine, as the node will simply concatenate the two lists without any filtering or transformation.

extend Common Errors and Solutions:

TypeError: can only concatenate list (not "NoneType") to list

  • Explanation: This error occurs when one of the input parameters, list_a or list_b, is not provided and defaults to None instead of an empty list.
  • Solution: Ensure that both list_a and list_b are explicitly provided as lists, even if they are empty, to avoid this error.

Unexpected behavior when lists contain non-list elements

  • Explanation: If the input parameters contain elements that are not lists, the node may not function as expected since it is designed to work with lists.
  • Solution: Verify that both list_a and list_b are indeed lists before passing them to the node to ensure proper operation.

extend 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.

extend