-
Setting environment in a python plugin
I created a plugin from a python recipe. For the recipe I use my environment based on Python 3.6 with some additional packages. When I try to use the plugin, I get the error that one of the packages cannot be imported, which I assume happens because DSS uses some default python. I tried to create an environment for the…
-
Can we pass a dynamic list in SELECT Parameter based on the value entered by user in other parameter
Hi, I am trying to pass a dynamic list in select parameter (parameter-b) based on the text entered by user in a string parameter (parameter-a). I am not sure how to do this. I am able to pass a list in select parameter using the following code: import os def do(payload, config, plugin_config, inputs): load_file_list0= [i…
-
Verify custom field string syntax
Hi I've read this article: custom-fields And I was wondering how can I verify the input of String type? I want it to get only version (as example '3.2.1'), and if not, it should throw exception I guess it should be done thought the python-lib folder, and using the `from packaging import version`
-
Plugin doesn't isn't shown anymore but still exists
Hi, I was creating a plugin in order to correct a weird behavior of one of our engine : while syncing a Teradata table to HDFS using the TDCH engine, dates (in a "%Y-%m-%D" format) are imported as dates in the schema even though they are strings. I created a plugin recipe that copy the synced HDFS dataset to another using…
-
Creating Plugins to extend Dataiku DSS
Hi, I have been using Dataiku DSS for some time and love it's functionalities although at times I would like to add something to it. Has anyone created some sort of a cheat sheet of different things we can do to extend DSS, one of them would be to write our own plugins. Any resources (blogs, Dataiku docs, etc...) to do…
-
dataset content in plugin UI
Hey, I have built a dataset that I would like to be displayed near parameters in plugin's UI. Do I have to use method of custom UI shown in documentation or is there a simple way to achieve that? Also can custom UI only be done with python or is it efficient with R too? P.S. would like to take a look into custom UI examples
-
Creating a project with python in project folder
Hi community, just a small question. If I would like to create a new project from python, I can use the create_project() function from the dssclient.py. The definition is def create_project(self, project_key, name, owner, description=None, settings=None, project_folder_id=None) However, I am not sure how I can set the…
-
Can't write with Google Sheets Plugin - JSON serializsation with datetime not possible
Hi folks, I've successfully set up the Google Sheets Plugin and it works smoothly, with one exception: I can't write data with date format to any google sheet. The error notification says "Job failed: Error in Python process: At line 69: <class 'TypeError'>: Object of type 'datetime' is not JSON serializable" It doesn't…
-
Dataiku Python API Client Flow Classes
Hello, I was looking on the dataiku-api-client-python repo on GitHub and saw that there are classes and methods to call a DSS project's flow graph or DAG. Are these methods callable with Dataiku DSS version 7.0.2 or 7.0.3? If not, will they be available in the next major release? Thank you for your help! Adam
-
LDA Mallet model in Dataiku (Python)
Hi, I have a Python script where I use this: https://radimrehurek.com/gensim/models/wrappers/ldamallet.html module for Topic Modeling. I would like to integrate my Python script into my flow in Dataiku, but I can't manage to find the right path to give as an argument to the gensim.models.wrappers.LdaMallet function. I have…