Nodes/comfyui-dreambait-nodes/Dynamic Dictionary
ComfyUI Node

Dynamic Dictionary

Creates a dictionary from multiple inputs. Flattens nested dictionaries. Filter by keys using comma or space-separated list. Get values as list or single value.

By drmbt·Created 2 years ago·Updated 6 months ago· 6
Dynamic Dictionary
    • complete_dictionary
    • filtered_dictionary
    • keys
    • values
    • info
    • types
    key_lookup
    keys*
    delimiter,
    Categoryutils

    Inputs (3)

    NameTypeDefaultDescription
    key_lookupoptSTRINGRename keys in order. Leave empty to keep original names.
    keysoptSTRING*List of keys to include, separated by spaces or commas. Use * or leave empty for all keys.
    delimiteroptSTRING, Character(s) to separate key-value pairs in info string.

    Outputs (6)

    NameTypeDescription
    complete_dictionaryDICT
    filtered_dictionaryDICT
    keysSTRING
    values*
    infoSTRING
    types*