Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurinehate committed Nov 22, 2022
1 parent 71e7463 commit 07a7fc9
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,10 @@ def _create_operation_aspect_wu(
)

operation_custom_properties = dict()
for key in sorted(hist.keys()):
val = hist[key]
for key, val in sorted(hist.items()):
if val is not None:
if isinstance(val, dict):
for k in sorted(val.keys()):
v = val[k]
for k, v in sorted(val.items()):
if v is not None:
operation_custom_properties[f"{key}_{k}"] = str(v)
else:
Expand Down

0 comments on commit 07a7fc9

Please sign in to comment.