1.0.1 Migration (autotransform.scripts.migrations.p1_0_1)

A script to perform a migration of a Manager JSON file from 1.0.0 to 1.0.1.

autotransform.scripts.migrations.p1_0_1.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.p1_0_1.main()

Migrate the Manager for 1.0.0 -> 1.0.1.

autotransform.scripts.migrations.p1_0_1.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.p1_0_1.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.p1_0_1.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.p1_0_1.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.