This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch fix-python-import
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/fix-python-import by this push:
     new e55611086 Fix a tiny issue
e55611086 is described below

commit e556110867ac8d77e4c13cb90e728d27b4b10f47
Author: Jia Yu <[email protected]>
AuthorDate: Thu Apr 25 19:13:29 2024 -0700

    Fix a tiny issue
---
 python/sedona/sql/st_functions.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/python/sedona/sql/st_functions.py 
b/python/sedona/sql/st_functions.py
index a72b17e50..dfd9ae13c 100644
--- a/python/sedona/sql/st_functions.py
+++ b/python/sedona/sql/st_functions.py
@@ -1495,6 +1495,7 @@ def ST_VoronoiPolygons(geometry: ColumnOrName, tolerance: 
Optional[Union[ColumnO
     args = (geometry, tolerance, extendTo)
     return _call_st_function("ST_VoronoiPolygons", args)
 
+@validate_argument_types
 def ST_FrechetDistance(g1: ColumnOrName, g2: ColumnOrName) -> Column:
     """
     Computes discrete frechet distance between the two geometries.
@@ -1537,7 +1538,7 @@ def ST_Affine(geometry: ColumnOrName, a: 
Union[ColumnOrName, float], b: Union[Co
         args = (geometry, a, b, c, d, e, f, g, h, i, xOff, yOff, zOff)
     return _call_st_function("ST_Affine", args)
 
-
+@validate_argument_types
 def ST_BoundingDiagonal(geometry: ColumnOrName) -> Column:
     """
     Returns a LineString with the min/max values of each dimension of the 
bounding box of the given geometry as its

Reply via email to