Skip to content

Commit

Permalink
var name tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
liamphmurphy committed Feb 14, 2025
1 parent d525f4b commit f334d8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/deltalake/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1432,9 +1432,9 @@ def repair(
commit_properties,
post_commithook_properties,
)
deserialized = json.loads(metrics)
deserialized[FSCK_METRICS_FILES_REMOVED_LABEL] = json.loads(deserialized["files_removed"])
return deserialized
deserialized_metrics = json.loads(metrics)
deserialized_metrics[FSCK_METRICS_FILES_REMOVED_LABEL] = json.loads(deserialized_metrics[FSCK_METRICS_FILES_REMOVED_LABEL])
return deserialized_metrics

def transaction_versions(self) -> Dict[str, Transaction]:
return self._table.transaction_versions()
Expand Down

0 comments on commit f334d8e

Please sign in to comment.