Cognite-sdk

Latest version: v7.43.3

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

Scan your dependencies

Page 32 of 80

6.13.1

Fixed
- Fixed bug when calling a `retrieve`, `list`, or `create` in `client.data_modeling.container` raised a `TypeError`.
This is caused by additions of fields to the API, this is now fixed by ignoring unknown fields.

6.13.0

Fixed
- Fixed a bug raising a `KeyError` when calling `client.data_modeling.graphql.apply_dml` with an invalid `DataModelingId`.
- Fixed a bug raising `AttributeError` in `SpaceList.to_space_apply_list`, `DataModelList.to_data_model_apply_list`,
`ViewList.to_view_apply`. These methods have also been renamed to `.as_apply` for consistency
with the other data modeling resources.

Removed
- The method `.as_apply` from `ContainerApplyList` as this method should be on the `ContainerList` instead.

Added
- Missing `as_ids()` for `DataModelApplyList`, `ContainerList`, `ContainerApplyList`, `SpaceApplyList`, `SpaceList`,
`ViewApplyList`, `ViewList`.
- Added helper method `.as_id` to `DMLApplyResult`.
- Added helper method `.latest_version` to `DataModelList`.
- Added helper method `.as_apply` to `ContainerList`.
- Added container classes `NodeApplyList`, `EdgeApplyList`, and `InstancesApply`.

6.12.2

Fixed
- Certain errors that were previously silently ignored in calls to `client.data_modeling.graphql.apply_dml` are now properly raised (used to fail as the API error was passed nested inside the API response).

6.12.1

Fixed
- Changed the structure of the GraphQL query used when updating DML models through `client.data_modeling.graphql.apply_dml` to properly handle (i.e. escape) all valid symbols/characters.

6.12.0

Added
- Added option `expand_metadata` to `.to_pandas()` method for list resource types which converts the metadata (if any) into separate columns in the returned dataframe. Also added `metadata_prefix` to control the naming of these columns (default is "metadata.").

6.11.1

Changed
- Return type `SubscriptionTimeSeriesUpdate` in `client.time_series.subscriptions.iterate_data` is now required and not optional.

Page 32 of 80

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.