Attribute error calling DSSProject.get_timeline() in Python Notebook

alundavid
Level 3
Attribute error calling DSSProject.get_timeline() in Python Notebook

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

0 Kudos
1 Reply
alundavid
Level 3
Author

Just to add I am using version 9.0.1.

 

0 Kudos

Labels

?
Labels (2)

Setup info

?
A banner prompting to get Dataiku