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 53 of 80

4.2.0

Added
- OAuthInteractive credential provider. This credential provider will redirect you to a login page
and require that the user authenticates. It will also cache the token between runs.
- OAuthDeviceCode credential provider. Display a device code to enter into a trusted device.
It will also cache the token between runs.

4.1.2

Fixed
- geospatial: support asset links for features

4.1.1

Fixed
- Fixed the issue on SDK when Python installation didn't include pip.

Added
- Added Optional dependency called functions. Usage: `pip install "cognite-sdk[functions]"`

4.1.0

Added
- ensure_parent parameter to client.raw.insert_dataframe method

4.0.1

Added
- OAuthClientCredentials now supports token_custom_args.

4.0.0

Changed
- Client configuration no longer respects any environment variables. There are other libraries better
suited for loading configuration from the environment (such as builtin `os` or `pydantic`). There have also
been several reports of envvar name clash issues in tools built on top the SDK. We therefore
consider this something that should be handled by the application consuming the SDK. All configuration of
`cognite.client.CogniteClient` now happens using a `cognite.client.ClientConfig` object. Global configuration such as
`max_connection_pool_size` and other options which apply to all client instances are now configured through
the `cognite.client.global_config` object which is an instance of `cognite.client.GlobalConfig`. Examples
have been added to the docs.
- Auth has been reworked. The client configuration no longer accepts the `api_key` and `token_...` arguments.
It accepts only a single `credentials` argument which must be a `CredentialProvider` object. A few
implementations have been provided (`APIKey`, `Token`, `OAuthClientCredentials`). Example usage has
been added to the docs. More credential provider implementations will be added in the future to accommodate
other OAuth flows.

Fixed
- A bug in the Functions SDK where the lifecycle of temporary files was not properly managed.

Page 53 of 80

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.