Skip to main content

I’m trying to update the is_string value of Time Series from false to true using CDF python class ognite.client.data_classes.time_series.TimeSeriesUpdate. But I’m unable to update it. The value in CDF remains false even though I updated it. Is this an expected behavior of Time Series Update?

@Mohamad Farhan Jalal can you please share the code that you are currently using?


@Mithila Jayalath  my_update = TimeSeriesUpdate(external_id="test123").is_string.set(True)

res = client.time_series.update(my_update)


The value in CDF remains false even though I updated it. Is this an expected behavior of Time Series Update?

 

Correct, the is_string field is immutable and can only be specified when the Time Series is created.

 

See the API documentation for info.


Reply