switch to osmnx
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from typing import Optional
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
from .landmarktype import LandmarkType
|
||||
|
||||
from uuid import uuid4
|
||||
@@ -28,3 +27,6 @@ class Landmark(BaseModel) :
|
||||
|
||||
time_to_reach_next : Optional[int] = 0 # TODO fix this in existing code
|
||||
next_uuid : Optional[str] = None # TODO implement this ASAP
|
||||
|
||||
def __hash__(self) -> int:
|
||||
return self.uuid.int
|
Reference in New Issue
Block a user