Cognite-sdk

Latest version: v7.43.3

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

Scan your dependencies

Page 31 of 80

6.15.0

Added
- Support for the DocumentsAPI with the implementation `client.documents`.
- Support for advanced filtering for `Events`, `TimeSeries`, `Assets` and `Sequences`. This is available through the
`.filter()` method, for example, `client.events.filter`.
- Extended aggregation support for `Events`, `TimeSeries`, `Assets` and `Sequences`. This is available through the five
methods `.aggregate_count(...)`, `aggregate_cardinality_values(...)`, `aggregate_cardinality_properties(...)`,
`.aggregate_unique_values(...)`, and `.aggregate_unique_properties(...)`. For example,
`client.assets.aggregate_count(...)`.
- Added helper methods `as_external_ids` and `as_ids` for `EventList`, `TimeSeriesList`, `AssetList`, `SequenceList`,
`FileMetaDataList`, `FunctionList`, `ExtractionPipelineList`, and `DataSetList`.

Deprecated
- Added `DeprecationWarning` to methods `client.assets.aggregate_metadata_keys` and
`client.assets.aggregate_metadata_values`. The use parameter the `fields` in
`client.events.aggregate_unique_values` will also lead to a deprecation warning. The reason is that the endpoints
these methods are using have been deprecated in the CDF API.

6.14.2

Fixed
- All data modeling endpoints will now be retried. This was not the case for POST endpoints.

6.14.1

Fixed
- Passing `sources` as a tuple no longer raises `ValueError` in `InstancesAPI.retrieve`.

6.14.0

Changed
- Don't terminate client.time_series.subscriptions.iterate_data() when `has_next=false` as more data
may be returned in the future. Instead we return the `has_next` field in the batch, and let the user
decide whether to terminate iteration. This is a breaking change, but this particular API is still
in beta and thus we reserve the right to break it without bumping the major version.

6.13.3

Fixed
- Fixed bug in `ViewApply.properties` had type hint `ConnectionDefinition` instead of `ConnectionDefinitionApply`.
- Fixed bug in `dump` methods of `ViewApply.properties` causing the return code `400` with message
`Request had 1 constraint violations. Please fix the request and try again. [type must not be null]` to be returned
from the CDF API.

6.13.2

Fixed
- Fixed bug in `Index.load` that would raise `TypeError` when trying to load `indexes`, when an unexpected field was
encountered (e.g. during a call to `client.data_modeling.container.list`).

Page 31 of 80

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.