Cognite-sdk

Latest version: v7.74.1

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 51 of 106

6.31.0

Added
Support for setting and fetching TimeSeries and Datapoints with "real" units (`unit_external_id`).
- TimeSeries has a new field `unit_external_id`, which can be set when creating or updating it. This ID must refer to a
valid unit in the UnitCatalog, see `client.units.list` for reference.
- If the `unit_external_id` is set for a TimeSeries, then you may retrieve datapoints from that time series in any compatible
units. You do this by specifying the `target_unit` (or `target_unit_system`) in a call to any of the datapoints `retrieve`
methods, `retrieve`, `retrieve_arrays`, `retrieve_dataframe`, or `retrieve_dataframe_in_tz`.

6.30.2

Fixed
- Serialization of `Transformation` or `TransformationList` no longer fails in `json.dumps` due to unhandled composite objects.

6.30.1

Added
- Support for metadata on Workflow executions. Set custom metadata when triggering a workflow (`workflows.executions.trigger()`). The metadata is included in results from `workflows.executions.list()` and `workflows.executions.retrieve_detailed()`.

6.30.0

Added
- Support for the UnitCatalog with the implementation `client.units`.

6.29.2

Fixed
- Calling some of the methods `assets.filter()`, `events.filter()`, `sequences.filter()`, `time_series.filter()` without a `sort` parameter could cause a `CogniteAPIError` with a 400 code. This is now fixed.

6.29.1

Added
- Convenience method `to_text` on the `FunctionCallLog` class which simplifies printing out function call logs.

Page 51 of 106

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.