Hi,
There is no clean way to use a plugin code env within a python code recipe.
However, you could still set the code env of a python recipe using the API and doing something like:
import dataiku project = dataiku.api_client().get_project(PROJECT_KEY) recipe = project.get_recipe(PYTHON_RECIPE) recipe_settings = recipe.get_settings() recipe_settings.set_code_env(code_env=PLUGIN_CODE_ENV) recipe_settings.save()
This website uses cookies. By clicking OK, you consent to the use of cookies. Read our cookie policy.
AcceptReject