Closed vpchung closed 2 months ago
@Bankso @aditigopalan OK, I did a couple more test runs and I think it is working as expected.
If y'all can think of any other edge cases we should account for, just lmk! I will merge this in the meantime.
Tagging @aclayton555 for awareness as well.
Changelog
data-models
for most up-to-date list of standard terms (rather than Synapse table which is no longer maintained)dryrun
parameter, where if enabled, CSVs of the updated tables are created in lieu of updating the Synapse tablesATTRIBUTE_DICT
in attribution_dictionary, etc.Preview
I used the following dummy tables for testing the script:
Before update
Expected updates:
After update
All expected updates have been applied.
If
--dryrun
is enabledwhere a sample CSV will look something like this: