Skip to content

Commit cdddc5b

Browse files
Indent correction
1 parent bc0227b commit cdddc5b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

logicmonitor_data_sdk/models/push_metric_api_response.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,16 +190,16 @@ def to_dict(self):
190190
value = getattr(self, attr)
191191
if isinstance(value, list):
192192
result[attr] = list(map(
193-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
194-
value
193+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
194+
value
195195
))
196196
elif hasattr(value, "to_dict"):
197197
result[attr] = value.to_dict()
198198
elif isinstance(value, dict):
199199
result[attr] = dict(map(
200-
lambda item: (item[0], item[1].to_dict())
201-
if hasattr(item[1], "to_dict") else item,
202-
value.items()
200+
lambda item: (item[0], item[1].to_dict())
201+
if hasattr(item[1], "to_dict") else item,
202+
value.items()
203203
))
204204
else:
205205
result[attr] = value

0 commit comments

Comments
 (0)