Skip to content

Commit

Permalink
remove and_ in where_pk_list test
Browse files Browse the repository at this point in the history
Co-authored-by: Élie Bouttier <[email protected]>
  • Loading branch information
jacquesfize and bouttier authored Dec 19, 2023
1 parent 5311147 commit 9b3934a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils_flask_sqla/tests/test_qfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def where_pk_query(cls, pk, **kwargs):

@qfilter
def where_pk_list(cls, pk, **kwargs):
return and_(*[BarModel.pk == pk])
return BarModel.pk == pk


@pytest.fixture(scope="session")
Expand Down

0 comments on commit 9b3934a

Please sign in to comment.