How to get all data model name using python

Hi All,

Im try to get all my data model list in my celonis application, for the purpose migrating to prd to UAT etc… is there any syntax in python to get the list of DM.

Thanks,

Hi Vellingiri,

You can use pycelonis our python library to easily achieve that. This library also comes pre-installed in Machine Learning Workbench of Celonis. Here is the documention:

https://celonis.github.io/pycelonis/reference/pycelonis.celonis_api.event_collection.data_model.html

You can do something like:

from pycelonis import get_celonis
celonis = get_celonis()
celonis.datamodels

Best,
Noor

Thanks Noor, its working