Skip to content

Commit

Permalink
ran black
Browse files Browse the repository at this point in the history
  • Loading branch information
areibman committed Nov 14, 2024
1 parent 5a519df commit daa87b9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions agentops/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ def filter_dict(obj):
k: (
filter_dict(v)
if isinstance(v, (dict, list)) or is_jsonable(v)
else str(v)
if isinstance(v, UUID)
else ""
else str(v) if isinstance(v, UUID) else ""
)
for k, v in obj.items()
}
Expand All @@ -50,9 +48,7 @@ def filter_dict(obj):
(
filter_dict(x)
if isinstance(x, (dict, list)) or is_jsonable(x)
else str(x)
if isinstance(x, UUID)
else ""
else str(x) if isinstance(x, UUID) else ""
)
for x in obj
]
Expand Down

0 comments on commit daa87b9

Please sign in to comment.