Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xuebingjie1990 committed Oct 25, 2021
1 parent 32ed41a commit 5441938
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pipestat/pipestat.py
Original file line number Diff line number Diff line change
Expand Up @@ -1242,11 +1242,7 @@ def select_txt(
.params(**filter_params)
)
else:
q = (
s.query(ORM)
.filter(text(filter_templ))
.params(**filter_params)
)
q = s.query(ORM).filter(text(filter_templ)).params(**filter_params)
if isinstance(offset, int):
q = q.offset(offset)
if isinstance(limit, int):
Expand Down

0 comments on commit 5441938

Please sign in to comment.