You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Precision parameter should actually be mandatory or have a default value specified as this results in an error if it is not specified. The GeoPoint constructor uses an encode function from geohash_tools which multiplies the precision by 5, resulting in an error as you cannot multiply a NoneType by an integer (by default, precision = None). I think there should be a more suitable default value (e.g. 2) or the parameter should not be considered optional.
Here is the error you get if you do not specify a precision parameter: TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
The text was updated successfully, but these errors were encountered:
Precision parameter should actually be mandatory or have a default value specified as this results in an error if it is not specified. The GeoPoint constructor uses an encode function from geohash_tools which multiplies the precision by 5, resulting in an error as you cannot multiply a NoneType by an integer (by default, precision = None). I think there should be a more suitable default value (e.g. 2) or the parameter should not be considered optional.
Here is the error you get if you do not specify a precision parameter:
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
The text was updated successfully, but these errors were encountered: