Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on January 27, 2021 4:07PM
Likes: 0
Replies: 4
Hello,
We have multiple dataiku projects in a project folder (Development). These projects are connected to a database. We'd like to duplicate these projects to a new project folder (Acceptance) and with the duplication change the connections from the development database (DB_Dev) to the acceptance database(DB_Acc). Since we have multiple projects, the duplication takes a lot of effort when manually performed. I'm using a python code to automate this process. The duplication of the projects works as desired by using the project.duplicate() function, but the remapping of the connections is not performed while
is one of the parameters of the function. Our dict of connections is defined as {'DB_Dev': 'DB_Acc'}.
Can someone tell my why this doesn't work?
Thanks in advance.
Jasper
Hello,
The remapping parameter has a slightly more complicated format. For your case, try using the following:
I'll log a request to improve documentation for that duplicate method since it doesn't give much guidance on the format of the remapping parameter.
Hi, Can anyone please tell me the mapping for Code Environments as well?
Hi. Please start a new thread. This thread has been masked as resolved already. Thanks