Code Studios#

The API offers methods to:

  • Create and list code studios

  • Start/stop them and trigger file synchronizations

For code studio templates, the API offers methods to:

  • list code studio templates

  • build them

Build a code studio template#

client = dataiku.api_client()

template_id = "my_template_id"

# Obtain a handle on the code studio template
my_template = client.get_code_studio_template(template_id)

# Build the template. This operation is asynchronous
build_template = my_template.build()
build_template.wait_for_result()

Reference documentation#

dataikuapi.dss.codestudio.DSSCodeStudioObject(...)

A handle to manage a code studio in a project

dataikuapi.dss.codestudio.DSSCodeStudioObjectListItem(...)

An item in a list of code studios.

dataikuapi.dss.codestudio.DSSCodeStudioObjectSettings(...)

Settings for a code studio

dataikuapi.dss.codestudio.DSSCodeStudioObjectStatus(...)

Handle to inspect the status of a code studio

dataikuapi.dss.codestudio.DSSCodeStudioObjectConflicts(...)

Summary of the conflicts on zones of a code studio.

dataikuapi.dss.admin.DSSCodeStudioTemplateListItem(...)

An item in a list of code studio templates.

dataikuapi.dss.admin.DSSCodeStudioTemplate(...)

A handle to interact with a code studio template on the DSS instance

dataikuapi.dss.admin.DSSCodeStudioTemplateSettings(...)

The settings of a code studio template