Discover all of the brand-new features and improvements to existing capabilities in the Dataiku 11.3 updateLET'S GO

Building code env for containers

Building code env for containers


 I wonder if it is possible to somehow automatically build a newly created code env for a specific containerized execution?

In the docs there is no mention about how to pass the container conf name(s):

I tried something like this, but it does not link the code env to the config.

ce = client.get_code_env('python', 'py3gpu')
cedef = ce.get_definition()
cedef['desc']['containerConfs'] = ['eks_config_gpu']
# OR 
cedef['containerConfs'] = ['eks_config_gpu']


0 Kudos
1 Reply

Hi @tomas,

Thank you for the question and the steps you tried to update the containerConf fields through the API.  The containerized execution settings cannot currently be updated through the API (the list of available fields that can be updated are listed in the set_definiton() call).  We will update you if this ability changes in the future.  


0 Kudos