Skip to content

Commit

Permalink
Update metadata-ingestion/src/datahub/testing/mcp_diff.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored Sep 17, 2024
1 parent 08ee599 commit 494d0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata-ingestion/src/datahub/testing/mcp_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def apply_delta(self, golden: List[Dict[str, Any]]) -> bool:
"""Update a golden file to match an output file based on the diff.
:param golden: Golden file represented as a list of MCPs, altered in-place.
:return: Whether the delta was successfully applied. If false, fallback to copying file when updating golden.
:return: Whether the delta was successfully applied. If false, the caller should fallback to copying file when updating golden.
"""
aspect_diffs = [v for d in self.aspect_changes.values() for v in d.values()]
for aspect_diff in aspect_diffs:
Expand Down

0 comments on commit 494d0ff

Please sign in to comment.