Skip to main content
Solved

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


Jason Schern
Practitioner
Forum|alt.badge.img

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.

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img

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
Forum|alt.badge.img
  • Author
  • Practitioner
  • 3 replies
  • 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.


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings