Skip to content

Commit

Permalink
Update scripts/update_source_data_schema_changelog.py
Browse files Browse the repository at this point in the history
Co-authored-by: chowbao <[email protected]>
  • Loading branch information
amishas157 and chowbao authored Nov 6, 2024
1 parent 1b2b332 commit 4ae7e61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/update_source_data_schema_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ def sort_schema_changes(schema_changes: {}) -> {}:
sorted_data = {}

for table_name, op_types in sorted(schema_changes.items()):
sorted_operations = {
sorted_data[table_name] = {
op_type: sorted(columns) for op_type, columns in sorted(op_types.items())
}
sorted_data[table_name] = sorted_operations
return sorted_data


Expand Down

0 comments on commit 4ae7e61

Please sign in to comment.