Manager Migration (autotransform.scripts.migrations.manager)
A script to perform a migration of a Manager JSON file from 1.0.0 to 1.0.1.
- autotransform.scripts.migrations.manager.get_arg_parser() ArgumentParser
Gets the argument parser for migrating the Manager JSON file.
- Returns
The arg parser with all args set up.
- Return type
ArgumentParser
- autotransform.scripts.migrations.manager.main()
Parse the arguments of a script run and execute the command invoked.
- autotransform.scripts.migrations.manager.update_comparison(condition_data: Dict[str, Any]) None
Updates the comparison value.
- Parameters
condition_data (Dict[str, Any]) – The Condition data to update
- autotransform.scripts.migrations.manager.update_condition_data(condition_data: Dict[str, Any]) None
Updates the Condition data to the new format.
- Parameters
condition_data (Dict[str, Any]) – The Condition data to update.
- autotransform.scripts.migrations.manager.update_manager_data(manager_data: Dict[str, Any]) None
Updates the Manager data for the new format.
- Parameters
manager_data (Dict[str, Any]) – The Manager data to update
- autotransform.scripts.migrations.manager.update_step_data(step_data: Dict[str, Any]) None
Updates the Step data to the new format.
- Parameters
step_data (Dict[str, Any]) – The Step data to update.