Attribute error calling DSSProject.get_timeline() in Python Notebook

Alun
Alun Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Registered Posts: 20 ✭✭✭✭
edited July 16 in Using Dataiku

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

Tagged:

Answers

Setup Info
    Tags
      Help me…