Skip to content

Commit

Permalink
fix deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanng-cognite committed Sep 26, 2022
1 parent ce100cb commit 3b1c5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cognite/client/_api/geospatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 3b1c5fe

Please sign in to comment.