fixed duplicate landmarks
All checks were successful
Build and push docker image / Build (pull_request) Successful in 3m4s
Build and release APK / Build APK (pull_request) Successful in 5m44s
Build web / Build Web (pull_request) Successful in 2m14s

This commit is contained in:
2024-06-10 22:52:08 +02:00
parent adbb6466d9
commit 53a5a9e873
4 changed files with 81 additions and 12 deletions

View File

@@ -1,3 +1,4 @@
from typing import Optional
from pydantic import BaseModel
from OSMPythonTools.api import Api
from .landmarktype import LandmarkType
@@ -18,5 +19,6 @@ class Landmark(BaseModel) :
attractiveness : int
must_do : bool
n_tags : int
time_to_reach : Optional[int] = 0