Adobe-Marketing-Cloud/aep-cloud-ml-ecosystem

Week 1 Notebook, code will break if you rerun cells for field group, schema and dataset creation as they already exist.

Opened this issue · 0 comments

We had to restart the kernel in the middle of running the notebook and noticed the code would throw an error if the field group or schema have been created from the previous run.
So to avoid the error we had to manually define the field group id and other ids in the cell to avoid the error like below:

image

It would be great if we can create a condition like:
if field group exist, retrieve the id
else create the field group.
to avoid the code failing.