Python backend can't access Dataset.

Highlighted
Ali
Level 1
Python backend can't access Dataset.
Jump to solution

I am trying to access the database from python backend and I am applying the following code:



dataiku.Dataset('Claim')



But I receive the following error:





 



However, when I apply the same code on notebook instead of webapp it works perfectly.



The JS code also works with no problems on webapp.

code:

    dataiku.fetch('Claim', {

                 sampling : "head",

                 limit : "20000"

             }, function(data) {})



 



How can I solve this problem for python?

0 Kudos
1 Solution

Accepted Solutions
Ali
Level 1
Re: Python backend can't access Dataset.
Jump to solution
Ok, so the problem is that I forgot to mention the project name. it should be like this:

dataiku.Dataset(' "YourProjectName"."DatasetName" ')

View solution in original post

0 Kudos
1 Reply
Ali
Level 1
Re: Python backend can't access Dataset.
Jump to solution
Ok, so the problem is that I forgot to mention the project name. it should be like this:

dataiku.Dataset(' "YourProjectName"."DatasetName" ')

View solution in original post

0 Kudos
Labels (3)