Skip to main content

Dear all,

 

I tried to use the backup_content function for Knowledge Models, so that I can store the YAML Code for worst case szenarios (package gets accidentially deleted). I am able to access the Spaces/Packages/Knowledge Models via .content but for backup_content it says the follwoing:

AttributeError: 'KnowledgeModel' object has no attribute 'backup_content'

 

Which components are enabled for backup_content?

Hello Jasmin.

In MLWB/Jupyter, typing a '.'(dot) and pressing TAB after your connection variables, will show you the available options for every component.

Example:

data_pool.(TAB key)Exampleyou can do the same for every component and check the available options.

 

I recommend you to use content-cli instead. also reliable but simpler.

check examples here: https://github.com/celonis/content-cli/blob/master/DOCUMENTATION.md#using-content-cli-inside-studio

Thank you.

Daniel.


Hi Daniel,

 

sorry for the late response, buuuuut I finally made it with your help!!! Thank you for that.

It is true content-cli is really powerful and quite easy to use!

I just struggle to show available options in the python script but this is less important!

 

Best wishes,

Jasmin


Hi Daniel,

 

sorry for the late response, buuuuut I finally made it with your help!!! Thank you for that.

It is true content-cli is really powerful and quite easy to use!

I just struggle to show available options in the python script but this is less important!

 

Best wishes,

Jasmin

Ah, it would be good to mention in the documentation that the new user can only be created in the Terminal and not in the consol or notebook because of the interactive process.


Reply