Skip to content

Commit

Permalink
style(api): applied black
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Vergez committed Nov 6, 2023
1 parent 02a13b3 commit 5520ad8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,9 @@ def filter_other_filters(self, user):
if colname.startswith("area"):
if self.geom_column.class_ != self.model:
l_areas_cte = LAreas.query.filter(LAreas.id_area.in_(value)).cte("area_filter")
self.query = self.query.where(func.ST_Intersects(self.geom_column, l_areas_cte.c.geom))
self.query = self.query.where(
func.ST_Intersects(self.geom_column, l_areas_cte.c.geom)
)
else:
cor_area_synthese_alias = aliased(CorAreaSynthese)
self.add_join(
Expand Down

0 comments on commit 5520ad8

Please sign in to comment.