We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b26d1b commit a3e28e3Copy full SHA for a3e28e3
1 file changed
ciscosparkapi/utils.py
@@ -151,9 +151,10 @@ def dict_from_items_with_values(*dictionaries, **items):
151
dict: A dictionary containing all of the items with a 'non-None' value.
152
153
"""
154
- dictionaries.append(items)
+ dict_list = list(dictionaries)
155
+ dict_list.append(items)
156
result = {}
- for d in dictionaries:
157
+ for d in dict_list:
158
for key, value in d.items():
159
if value is not None:
160
result[key] = value
0 commit comments