Skip to main content
Answer

query in timeseries datapoints

  • April 28, 2023
  • 1 reply
  • 81 views

while using python sdk 5.10.5 and downgrade versions getting issue like 'CogniteClient' object has no attribute 'datapoints'.

With latest version getting error while hitting micro service. Please find below  file for your reference.

Best answer by Dilini Fernando

Hi @Gangula Radha,

The request has been forwarded to Cognite Support. As you noted, in cognite-sdk version 6.0.0, client.datapoints was removed and replaced by client.time_series.data in cognite-sdk version 6.1.1.

As of now, I will solve this thread. Please feel free to reach out to us if you have any questions.

Best regards,
Dilini

1 reply

Dilini Fernando
Seasoned Practitioner
Forum|alt.badge.img+2
  • Seasoned Practitioner
  • Answer
  • May 4, 2023

Hi @Gangula Radha,

The request has been forwarded to Cognite Support. As you noted, in cognite-sdk version 6.0.0, client.datapoints was removed and replaced by client.time_series.data in cognite-sdk version 6.1.1.

As of now, I will solve this thread. Please feel free to reach out to us if you have any questions.

Best regards,
Dilini