Remove python 3.9 features
This commit is contained in:
parent
c718c7abfe
commit
100eb416af
@ -26,7 +26,7 @@ class Bikepoint(BaseModel):
|
|||||||
|
|
||||||
def bikepoint_mapper(bikepoint):
|
def bikepoint_mapper(bikepoint):
|
||||||
mapped_point = {
|
mapped_point = {
|
||||||
"id": bikepoint['id'].removeprefix("BikePoints_"),
|
"id": bikepoint['id'][11:],
|
||||||
"url": bikepoint['url'],
|
"url": bikepoint['url'],
|
||||||
"commonName": bikepoint['commonName'],
|
"commonName": bikepoint['commonName'],
|
||||||
"lat": bikepoint['lat'],
|
"lat": bikepoint['lat'],
|
||||||
|
Loading…
Reference in New Issue
Block a user