ComfyUI Node

exclude keys

Creates a new dictionary excluding the specified keys. This node takes a dictionary and a list of keys, then returns a new dictionary containing all key-value pairs except those with keys in the provided list.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
exclude keys
  • input_dict
  • keys_to_exclude
  • DICT
CategoryBasic/DICT

Inputs (2)

NameTypeDefaultDescription
input_dictDICT
keys_to_excludeLIST

Outputs (1)

NameTypeDescription
DICTDICT