feat: ✨ implemented api, implemented creating driver and vehicle entity, added db models for entities
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import gpxpy
|
||||
import gpxpy.gpx
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
class GPXHandler:
|
||||
__dbSession: Session
|
||||
@@ -16,7 +17,7 @@ class GPXHandler:
|
||||
# handles a route from db and converting it into geoJSON
|
||||
def getRoute(self, route):
|
||||
pass
|
||||
|
||||
# handles storing a route in db
|
||||
def saveInDB():
|
||||
|
||||
# handles calculating the distance between two points
|
||||
def calcDist(self, p1, p2):
|
||||
pass
|
||||
Reference in New Issue
Block a user