in scripts/delete_auto_launch_config.py [0:0]
def execute_config_deletion(self) -> None:
failed_to_delete_configs = list()
for key, value in self.configs_to_delete_map.items():
try:
item = AutoLaunchConfig(uuid=key)
item.delete()
print(f"Deleted config - {value}")
except Exception as e:
print(e)
failed_to_delete_configs.append(value)
if len(failed_to_delete_configs) > 0:
print("Failed to delete the following configuration entries:")
for config in failed_to_delete_configs:
print(config)