Solved

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

  • 30 March 2023
  • 2 replies
  • 77 views

Badge

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

icon

Best answer by Håkon V. Treider 30 March 2023, 13:30

View original

2 replies

Userlevel 4
Badge

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.

Badge

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.

Reply