From 539883752c3f5608eaf3816f77f7d3f3d2ea93c3 Mon Sep 17 00:00:00 2001 From: 8916 <891683821@qq.com> Date: Wed, 22 Sep 2021 21:27:46 +0800 Subject: [PATCH] Update bmob.py --- python/sdk/bmob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sdk/bmob.py b/python/sdk/bmob.py index 4e5bbbf..93953c4 100644 --- a/python/sdk/bmob.py +++ b/python/sdk/bmob.py @@ -136,7 +136,7 @@ def addWhereNear(self, key, bmobGeoPointer, maxMiles = None, maxKM = None, maxRa if maxRadians != None: near["$maxDistanceInRadians"] = maxRadians return self.putWhereFilter(key, near) - def addWhereWithinGeoBox(self, southwest, northeast): + def addWhereWithinGeoBox(self, key, southwest, northeast): return self.putWhereFilter(key, {"$box": [southwest.__dict__, northeast.__dict__]}, "$within") # 列表 def addWhereContainedIn(self, key, value, isIn = True):