merge_all_value
No overview available.
def merge_all_value(
*dicts: dict
) - > dict
Merges multiple dictionaries into a single dictionary by aggregating values into lists for duplicate keys. Use this when you need to consolidate data from multiple sources without overwriting existing entries.
Parameters
| Name | Type | Description |
|---|---|---|
| *dicts | dict | A variable number of dictionary objects to be merged into the final collection. |
Returns
| Type | Description |
|---|---|
dict | A dictionary where each key maps to a list containing all values associated with that key across the input dictionaries. |