New to Dataiku DSS? Try out our NEW Quick Start Programs today and get onboarded on the product in just one hour! Let's go

Custom Processor (Plugin): use real python process / env selection

Seymour93
Level 2
Custom Processor (Plugin): use real python process / env selection

Hi,

I am working on a plug-in for Custom Processor.

This post is because I would like to enable the option for the user to select which environment to run the Custom Processor. This option must exist because is available in the Python Processor, however, in the little documentation available there is no mention to the parameter needed for that. Here the few resources I found, please suggest additional resources if available:

https://doc.dataiku.com/dss/latest/plugins/reference/params.html

https://doc.dataiku.com/dss/latest/plugins/reference/preparation.html

https://doc.dataiku.com/dss/latest/plugins/reference/preparation.html

3 Replies
fchataigner2
Dataiker
Dataiker

for plugin components, and processors are no exception, the code env is the one of the plugin. It can't be chosen at runtime

Seymour93
Level 2
Author

Very clear, thank you. Could you please share the source of this statement so I can read more about it?

0 Kudos
fchataigner2
Dataiker
Dataiker

even if a bit on the succint side, it's https://doc.dataiku.com/dss/latest/plugins/reference/other.html#code-environments

The fact remains that all python components of a plugin, when they're run, use the same code environment, the one that was created based on the code env spec inside the plugin.

A banner prompting to get Dataiku DSS