Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on March 31, 2025 12:21AM
Likes: 0
Replies: 3
Hi,
I'm trying to configure code env programmatically via dataikuapi using the below mentioned commands and I have trouble setting it up.
project_settings = Eng_project.get_settings() project_settings.set_code_env(code_env_name) project_settings.save()
I'm getting this issue.
AttributeError: 'DSSProjectSettings' object has no attribute 'set_code_env'
Do y'all have any ideas in fixing it? I'm using dataiku-api-client v13.1.4 python library.
Operating system used: Windows
I figured that we access project variables the below mentioned way in v13. hence closing this thread.
project_settings = Eng_project.get_settings() project_settings.settings['settings']['codeEnvs']['python']
@Turribeach : Do you have any idea about this or any pointers you would recommend?
Just seen this. Nice one. Piece of advice, don't trust chatGPT to write proper Dataiku API code, too many allucinations. Use the developer site to check on the available API methods: