I noticed that PyCelonis has some functionality in adding records, variables and the like into Knowledge Models but I was wondering if there was a script or way we could mass import/add variables or KPIs from Process Analytics into a Knowledge Model.
I've got a script that extracts and formats all KPIS and Variables into a pandas dataframe so it's just a matter of calling the right function. I don't really see any examples on the PyCelonis Github in terms of adding variables/KPIs

So I found this section in the PyCelonis Github but I'm not really understanding the syntax for inserting/appending KPIs since we're also trying to find the KPI? If there's something that explains that section a little better, I think I could figure it out. 