From 3b1c5fe44f792d41c9fe8a7d2667a75cb93e064c Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Mon, 26 Sep 2022 16:40:59 +0200 Subject: [PATCH] fix deprecation message --- cognite/client/_api/geospatial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognite/client/_api/geospatial.py b/cognite/client/_api/geospatial.py index d3877458f5..653df73167 100644 --- a/cognite/client/_api/geospatial.py +++ b/cognite/client/_api/geospatial.py @@ -817,7 +817,7 @@ def aggregate_features( ... # loop over aggregates in different groups """ if property or aggregates: - warnings.warn("property and aggregates are deprecated, use aggregate_output instead.", DeprecationWarning) + warnings.warn("property and aggregates are deprecated, use output instead.", DeprecationWarning) resource_path = self._feature_resource_path(feature_type_external_id) + "/aggregate" cls = FeatureAggregateList order = None if order_by is None else [f"{item.property}:{item.direction}" for item in order_by]