Attribute error calling DSSProject.get_timeline() in Python Notebook
Alun
Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Registered Posts: 20 ✭✭✭✭
Running this code:
import dataiku
from dataiku import pandasutils as pdu
client = dataiku.api_client()
project = client.get_project("INTERACTIVITYPILOT")
project_timeline = project.get_timeline()
print(project_timeline)
Produced this error:
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-35-bafe25d20236> in <module> 5 6 project = client.get_project("INTERACTIVITYPILOT") ----> 7 project_timeline = project.get_timeline() 8 9 print(project_timeline) AttributeError: 'DSSProject' object has no attribute 'get_timeline'
The project key is valid for the instance.
Can someone please explain why this might be happening? Thanks in advance.
Operating system used: AWS
Answers
-
Alun Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Registered Posts: 20 ✭✭✭✭
Just to add I am using version 9.0.1.