Project Bundle Questions

rmoore
rmoore Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2022, Frontrunner 2022 Finalist, Frontrunner 2022 Participant, Neuron 2023 Posts: 33 Neuron

I have two questions regarding project bundles:

1) When using the Python API (export_bundle command) to create a project bundle, is there any way to specify which datasets should be included with the bundle? Specifically, I want to include any uploaded datasets.

2) When creating bundles to move to the Automation Node, is it possible to also include project permissions or is it necessary to re-create the project permissions when the project is imported to the Automation Node?

Thanks!

Tagged:

Best Answer

  • Liev
    Liev Dataiker Alumni Posts: 176 ✭✭✭✭✭✭✭✭
    Answer ✓

    Hi @rmoore

    Indeed there's a way.

    The bundle you create will do so using the project settings. Therefore, before you create it, modify the settings of the project. Depending on whether you use Python or HTTP rest API, the section to modify is

    project_settings['bundleExporterSettings']['exportOptions']

    In order to get there, instantiate the project and modify the settings (obtain settings then edit the relevant part), see here for an example. Regarding the exact shape of what you need to enter, I find it easier to create through the UI and then inspect the resulting settings of the project in the API, that way I can modify programmatically later.

    Regarding your second question, see for this post on a similar topic, after activating the project in Automation you can edit permissions and give access to the relevant groups.

    Good luck!

Answers

Setup Info
    Tags
      Help me…