Solved

Support for 100 requests in Cognite-SDK

  • 8 March 2022
  • 3 replies
  • 132 views

Userlevel 1
Badge

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. 

icon

Best answer by Thomas Sjølshagen 18 March 2022, 14:51

View original

3 replies

Userlevel 3

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!

Userlevel 1
Badge

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. 

Userlevel 1
Badge

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

Reply