Cloning instances Naming convention

#1

Do we have a standardized way for naming (and generating the name for) cloned instances?
Example:
I have a JupyterNotebook instance with name MyNotebook. I want to clone all the configurations related to it then make some minor tweaks. Is there an API or some sort of existing helper function that will give me a name for the cloned instance? I have seen one that exists privately as a helper function but want to know if this problem has been solved before and if not where would be the best place to expose this function. Currently this is a UI feature and I plan to add it to the UIUtil.

If I clone MyNotebook the expected name of the clone would be MyNotebook-Copy1 similar to the way cloning in the JupyterNotebook environment works.

0 Likes