ComfyUI Node
DictGet (Yogurt Nodes)
Get a value by key from any dict-like object
DictGet (Yogurt Nodes)
- dict_data
- default_value
- value
◄key►
◄use_defaultfalse►
CategoryYogurtNodes/Logic
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| dict_data | * | Any dict-like object that supports string indexing | |
| key | STRING | Key to access | |
| default_valueopt | * | Default value to return if key not found (uses dict.get()) | |
| use_defaultopt | BOOLEAN | false | Use default value instead of raising KeyError |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | * | — |