diff --git a/cognite/client/_api/events.py b/cognite/client/_api/events.py index 9c56e3f37..1ab24d319 100644 --- a/cognite/client/_api/events.py +++ b/cognite/client/_api/events.py @@ -299,7 +299,7 @@ def aggregate_unique_values( >>> from cognite.client import CogniteClient >>> from cognite.client.data_classes.events import EventProperty >>> client = CogniteClient() - >>> result = client.events.aggregate_unique_values(EventProperty.type) + >>> result = client.events.aggregate_unique_values(property=EventProperty.type) >>> print(result.unique) Get the unique types of events after 2020-01-01 in your CDF project: