Skip to content

Commit fe9a2f8

Browse files
author
Izaak Gough
committed
chore: fix linting
1 parent e0d7cd2 commit fe9a2f8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/firebase_functions/logger.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,7 @@ def _coerce_json_safe(obj: _typing.Any):
148148
if isinstance(obj, str | int | float | bool | type(None)):
149149
return obj
150150
if isinstance(obj, dict):
151-
return {
152-
_coerce_json_safe(key): _coerce_json_safe(value) for key, value in obj.items()
153-
}
151+
return {_coerce_json_safe(key): _coerce_json_safe(value) for key, value in obj.items()}
154152
if isinstance(obj, list):
155153
return [_coerce_json_safe(item) for item in obj]
156154
if isinstance(obj, tuple):

0 commit comments

Comments
 (0)