Skip to main content
Jason Schern
Practitioner ⭐️⭐️⭐️
Practitioner ⭐️⭐️⭐️
March 30, 2023
Solved

"Learn to use the Cognite Python SDK" course and SDK documentation are inconsistent (SDK docs appear incorrect)

  • March 30, 2023
  • 2 replies
  • 93 views

Performing the ‘try it yourself’ exercises in the “Learn to use the Cognite Python SDK” course. The course materials and examples use the pattern of ‘client.datapoints.retrieve()’ while the Python SDK documentation examples all use the incorrect pattern of ‘client.time_series.data.retrieve()’.

https://cognite-sdk-python.readthedocs-hosted.com/en/latest/cognite.html#retrieve-datapoints

Best answer by Håkon V. Treider

Hi Jason!

We are in the middle of updating the course. In the meantime, click on v4 of the Python docs to see the docs that the course was made for.

2 replies

Practitioner ⭐️⭐️⭐️
March 30, 2023

Hi Jason!

We are in the middle of updating the course. In the meantime, click on v4 of the Python docs to see the docs that the course was made for.

Jason Schern
Practitioner ⭐️⭐️⭐️
Practitioner ⭐️⭐️⭐️
March 30, 2023

Ah, didn’t realize there were different versions and found the small link at the bottom of the document tree frame where you can select the version.  When you go to docs.cognite.com I guess it defaults to v2 (strange). Got it now, thanks.