Copilot commented on code in PR #2253:
URL: https://github.com/apache/sedona/pull/2253#discussion_r2262229604


##########
python/sedona/stats/clustering/dbscan/__init__.py:
##########
@@ -20,7 +20,7 @@
 import warnings
 
 warnings.warn(
-    "The 'sedona.stats.clustering.dbscan' module is deprecated and will be 
removed in future versions. Please use 'sedona.spark.stats' instead.",
+    "Importing from 'sedona.stats.clustering.dbscan' is deprecated and will be 
removed in future versions. Please use 'sedona.spark.stats.clustering' 
instead.",

Review Comment:
   The warning message is inconsistent with the module path. It should mention 
'sedona.spark.stats.clustering.dbscan' instead of just 
'sedona.spark.stats.clustering' to match the full module path being deprecated.
   ```suggestion
       "Importing from 'sedona.spark.stats.clustering.dbscan' is deprecated and 
will be removed in future versions. Please use 
'sedona.spark.stats.clustering.dbscan' instead.",
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to