-
Lib dataiku-api-client-python Python in unit test mock DSSClient
Hi Team, In my pyhton project, I use the "dataiku-api-client-python" library. As part of the unit test I would like to mock the DSSxxx objects. How can I mock a DSSClient and for example? import dataiku client = dataiku.api_client()connection = client.get_connection("my_connection_name")settings =…
-
Export a Dataiku web app on an external website
Hi every one, I am developing a web app on dataiku which is based on data sets that I have on the platform but I would like the web app to be available on my personal site for users. For example, a weather forecast web app coded in Python (Bokeh) which can be used by people who do not have Dataiku and go to an average…
-
Geo-Join Nearest
Hello, first time question poster here and new to Dataiku. I've replicate a flow that I created in another tool which uses geo-join in a prepare recipe to find the nearest location between 2 lists of locations with long & lat data points. When comparing the output of Dataiku with the output of the other tool, I am noticing…
-
Dataiku App - Edit Project Variables
Hi, While creating the dataiku app, I want to create several custom variables with drop down options using getChoicesFromPython. Can I create 2 custom variables in the same python code? Or do I need to create separate 'Edit Project Variable' tiles for each variable? For example, if I have below 2 parameters, how can I add…
-
NumberFormatException: For input string: Data type wrongly interpreted on import from Excel
I created a dataset by importing an Excel file. The data type was incorrectly identified as integer because the first few records happened to contain data that could be identified as integer. When I change the data type to string DSS returns error "NumberFormatException: For input string:" when I try to explore the data. I…
-
Define Project variables
Hi, How can we define variables in API Designer,so there are two projects and they have some different variables, but I want to define them in each project as variables so that it can be used in the APIs. Please let me know for suggestions. Thanks
-
Exposing Dataset to External API
Hi DSS community, I would like to expose a dataset that is created and located within DSS to an external API such that it can be consumed for further processing outside of DSS. What would be the best way to do this? Thanks in advance!
-
detect details about scenario run
Hi, I would like to create a new scenario that basically just tells me which scenarios were triggered manually in the previous day. I'm doing it in a python code, and right now I have 2 things i have questions on- 1. I would like to know the real user that triggered the scenario manually, for example even if a scenario has…
-
Getting a writer already closed warning
Operating system used: Windows 10 Hi, I am getting an 'Writer already closed, cannot write' warning when printing some dynamically generated SQL during recipe debug. Is this expected? thx [07:22:13] [INFO] [dku.utils] - Installing debugging signal handler[07:22:13] [INFO] [dku.utils] - {'start_date': '2022-01-01', 'agg':…
-
Project Security Questions
When setting permissions in Project Security, is there a way to prevent accidental modification/deletion? Is there any alerts that can be set up for such incidents? Thank you!! Operating system used: Windows