Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 25, 2024
1 parent 40cd5ff commit 9d5f5d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qgepqwat2ili/qgepdss/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -2972,14 +2972,14 @@ def textpos_common(row, t_type, geojson_crs_def):
query = qgep_session.query(QGEP.measuring_point)
if filtered:
query1 = query.join(
QGEP.wastewater_structure,
QGEP.wastewater_structure,
QGEP.wastewater_networkelement,
)
# needs to add QGEP.wastewater_structure as waste_water_treatment_plant is a subclass of organisation that has a relation to wastewater_structure and then wastewater_networkelement
# variant1 for query2
# query2=query.join(
# QGEP.waste_water_treatment_plant,
# (QGEP.wastewater_structure, QGEP.waste_water_treatment_plant.obj_id == QGEP.wastewater_structure.fk_owner),
# QGEP.waste_water_treatment_plant,
# (QGEP.wastewater_structure, QGEP.waste_water_treatment_plant.obj_id == QGEP.wastewater_structure.fk_owner),
# (QGEP.wastewater_structure, QGEP.waste_water_treatment_plant.obj_id == QGEP.wastewater_structure.fk_provider),
# QGEP.wastewater_networkelement,
# )
Expand Down

0 comments on commit 9d5f5d3

Please sign in to comment.