Skip to main content
Solved

Support for 100 requests in Cognite-SDK


Forum|alt.badge.img

Currently when fetching datapoints from multiple timeseries, the Python Cognite-SDK splits up the requests into one request per timeseries, while the underlying CDF API supports up to 100 timeseries per requests. This slows down fetching multiple timeseries, which is a problem when you display multiple timeseries (or aggregated of timeseries) in a frontend application. 

Best answer by Thomas Sjølshagen

Hi @Anders Albert,

I’ve added your feedback as a bug report in our internal ticketing system, against the Python SDK. Engineering will consider the impact of modifying the current behavior, and can update this topic once we know more about if/how and when we may be able to address it. 

Sorry about the delay in getting back to you!

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

3 replies

Forum|alt.badge.img

Hi @Anders Albert,

I’ve added your feedback as a bug report in our internal ticketing system, against the Python SDK. Engineering will consider the impact of modifying the current behavior, and can update this topic once we know more about if/how and when we may be able to address it. 

Sorry about the delay in getting back to you!


Forum|alt.badge.img
  • Author
  • Seasoned Practitioner
  • 58 replies
  • May 2, 2022
Thomas Sjølshagen wrote:

Hi @Anders Albert,

I’ve added your feedback as a bug report in our internal ticketing system, against the Python SDK. Engineering will consider the impact of modifying the current behavior, and can update this topic once we know more about if/how and when we may be able to address it. 

Sorry about the delay in getting back to you!

Hi @Thomas Sjølshagen

I have ended up implementing the change myself and a PR is submitted for the Python SDK, which I expect will be reviewed today. 


Forum|alt.badge.img
  • Author
  • Seasoned Practitioner
  • 58 replies
  • May 2, 2022

This is now released with version 2.47.0 of the cognite-sdk. 


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