How to I properly cancel all child runs in an Azure ML experiment? When I use the code below as expected from documentation, I get an error. "RunConfigurationException:
Message: Error in deserialization. dict fields don't have list element type information. field=output_data, list_element_type=<class 'azureml.core.runconfig.OutputData'>...} with exception init() missing 2 required positional arguments: 'datastore_name' and 'relative_path'"
run = Run.get(ws, 'run-id-123456789')
for child in run.get_children():
print(child.get_details())
try:
child.cancel()
except Exception as e:
print(e)
continue
The datasets and runs were configured properly because they run just fine.