reviewed code structure, cleaned comments, now pep8 conform
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
from typing import Optional
|
||||
from pydantic import BaseModel
|
||||
from OSMPythonTools.api import Api
|
||||
from .landmarktype import LandmarkType
|
||||
from .preferences import Preferences
|
||||
|
||||
class LandmarkTest(BaseModel) :
|
||||
name : str
|
||||
attractiveness : int
|
||||
loc : tuple
|
||||
from .landmarktype import LandmarkType
|
||||
|
||||
|
||||
|
||||
# Output to frontend
|
||||
class Landmark(BaseModel) :
|
||||
|
Reference in New Issue
Block a user