Cognite-sdk

Latest version: v7.62.0

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

Scan your dependencies

Page 50 of 93

6.4.5

Added
- Included tuple-notation when retrieving or listing data model instances

Improved
- Fixed docstring for retrieving data model instances and extended the examples.

6.4.4

Some breaking changes to the datamodeling client. We don't expect any more breaking changes,
but we accept the cost of breaking a few consumers now early on the really nail the user experience.
Added
- ViewId:as_property_ref and ContainerId:as_property_ref to make it easier to create property references.

Changed
- Renamed ViewCore:as_reference and ContainerCore:as_reference to :as_id() for consistency with other resources.
- Change Instance:properties to be a `MutableMapping[ViewIdentifier, MutableMapping[PropertyIdentifier, PropertyValue]]`, in order to make it easier to consume
- Make VersionedDataModelingId:load accept `tuple[str, str]`
- Rename ConstraintIdentifier to Constraint - it was not an id but the definition itself
- Rename IndexIdentifier to Index - it was not an id but the definition itself
- Rename ContainerPropertyIdentifier to ContainerProperty - it was not an id but the definition itself

Removed
- Redundant EdgeApply:create method. It simply mirrored the EdgeApply constructor.

6.4.3

Added
- Accept direct relation values as tuples in `EdgeApply`

6.4.2

Changed
- When providing ids as tuples in `instances.retrieve` and `instances.delete` you should not
have to specify the instance type in each tuple

Fixed
- Bug where edges and nodes would get mixed up on `instances.retrieve`

6.4.1

Fixed
- Add the missing page_count field for diagram detect items.

6.4.0

Added
- Partial support for the instance resource in the Data Modeling API with the implementation
`client.data_modeling.instances`, the endpoints `list`, `delete`, `retrieve`, and `apply`

Page 50 of 93

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.