WIP: generovani trasy planu

This commit is contained in:
Michal Kváček
2024-08-07 06:15:37 +02:00
parent 9e6b0b574c
commit 90eec72d0e
10 changed files with 122 additions and 23 deletions
@@ -52,7 +52,6 @@ class FlightPlanMutationResolver(BaseMutationResolver):
position = 0
for marker in markers:
if marker.type == 'poi':
assert bool(marker.point_of_interest_id)
@@ -71,6 +70,8 @@ class FlightPlanMutationResolver(BaseMutationResolver):
})
position += 1
@staticmethod
async def reset_plan_markers(db, flight_plan: models.FlightPlan):
await db.execute(