Multi level variable in plugin field

Antoine
Antoine Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 4 ✭✭✭

I have the following variable

"my_var" : {

"value": "aaaa"

}

How can I access the value of my_var.value in a plugin field? I get the following error doing ${my_var.value} "Unknown DSS variable: my_var.value"

Answers

  • Antoine
    Antoine Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 4 ✭✭✭

    I can access my_var, but it returns all of its fields as a single string. I would like to select one in particular.

  • John_wilson
    John_wilson Registered Posts: 2

    Hi Antoine,Our company L3 analytics is a Dataiku certified partner. We focus in providing platform support and administration for Dataiku. If you guys need assistance implementing and supporting the platform please reach out to us at info@l3-analyticsinc.com / john@l3analyticsinc.com.

    it would be something like:

    first get the global variable:import dataikuproj_var = dataiku.get_custom_variables()then you set your plugin parameter 
    

    https://developer.dataiku.com/latest/api-reference/python/plugins.html?_gl=11gjhdrz_gcl_auMTgyNDQ2NTM0NC4xNzMzMTY3Mzcw_gaNDI0ODYyMzA0LjE3MzMxNjczNjg._ga_B3YXRYMY48*MTczMzMzMzI5NC41LjEuMTczMzMzNzg2Ni4xOS4wLjA.#dataikuapi.dss.plugin.DSSPluginSettings.list_parameter_set_names

    Thank you.

    John

    L3 Analytics

Setup Info
    Tags
      Help me…