Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dynamic Exposure
OpenBuildingMap
rabotnik-obm
Commits
9bd21411
Commit
9bd21411
authored
Jun 11, 2021
by
Marius Kriegerowski
Browse files
Use storage.execute to write data
parent
7b8b9b54
Pipeline
#24305
passed with stage
in 1 minute and 38 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
rabotnikobm/rules/get_building.py
View file @
9bd21411
...
...
@@ -41,7 +41,6 @@ class GetBuilding(Rule):
):
# Push the building data to storage_to
async
with
self
.
storage_to
.
connection
.
cursor
()
as
cur
:
await
cur
.
execute
(
"INSERT INTO obm_buildings (osm_id, geometry) VALUES (%s,%s)"
,
row
)
await
self
.
storage_to
.
execute
(
"INSERT INTO obm_buildings (osm_id, geometry) VALUES (%s,%s)"
,
row
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment