List Units

async AsyncCogniteClient.units.list() UnitList

List all supported units.

Returns:

List of units

Return type:

UnitList

Examples

List all supported units in CDF:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> res = client.units.list()