Generate the fake coordinates as floats
Also, remove the misleading comment in `Location`
This commit is contained in:
parent
3b8b041a3e
commit
8abc93987e
1 changed files with 2 additions and 3 deletions
|
|
@ -22,7 +22,6 @@ class Location:
|
|||
|
||||
def __init__(self, latitude: float, longitude: float) -> None:
|
||||
"""Create a location from a WGS84-conforming `latitude`-`longitude` pair."""
|
||||
# The SQLAlchemy columns come as `Decimal`s due to the `DOUBLE_PRECISION`.
|
||||
self._latitude = float(latitude)
|
||||
self._longitude = float(longitude)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue