mirror of
https://github.com/DerTyp7/local-analyzer-python.git
synced 2025-10-29 12:32:10 +01:00
get rid of sql
This commit is contained in:
17
objects.py
Normal file
17
objects.py
Normal file
@@ -0,0 +1,17 @@
|
||||
class Node:
|
||||
def __init__(self, _id, _lon, _lat, _version, _timestamp, _changeset, _uid, _user):
|
||||
self.id = int(_id)
|
||||
self.lon = str(_lon)
|
||||
self.lat = str(_lat)
|
||||
self.version = str(_version)
|
||||
self.timestamp = str(_timestamp)
|
||||
self.changeset = int(_changeset)
|
||||
self.uid = int(_uid)
|
||||
self.user = str(_user)
|
||||
|
||||
|
||||
class NodeTags:
|
||||
def __init__(self, _nodeId, _key, _value):
|
||||
self.nodeId = int(_nodeId)
|
||||
self.key = str(_key)
|
||||
self.value = str(_value)
|
||||
Reference in New Issue
Block a user