Skip to content

Commit

Permalink
docs: info about removing params from db call
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Dec 7, 2023
1 parent 07142d1 commit bc42dd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fmtm_splitter/splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ def splitBySQL( # noqa: N802
"tags,geom FROM ways_line WHERE "
f"ST_CONTAINS(ST_GeomFromGeoJson('{aoi_geom}'), geom)"
)
# FIXME params is redundant if using f-string, update
temp_session.execute(view, params={"aoi_geom": aoi_geom})
# Run on db (required)
temp_session.commit()
Expand Down

0 comments on commit bc42dd3

Please sign in to comment.