Current

async AsyncCogniteClient.projects.current() → Project

Retrieve the configuration of the project this client is using.

Returns:

The current project configuration.

Return type:

Project

Examples

Look up the organization of the current project:

>>> from cognite.client import CogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> proj = client.projects.current()
>>> proj.organization