X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/3eea3aad864b83af3b6c477c32f15eb821fe9341..bbed104e6d3e89ebb8da7c209b842e8a96bcd5de:/tests/function.py?ds=sidebyside diff --git a/tests/function.py b/tests/function.py index 4cfc945..4754588 100644 --- a/tests/function.py +++ b/tests/function.py @@ -167,9 +167,15 @@ def spaces2(result=_core.Value(None)): def example(session): - result = session.query(models.Customer.id).filter( - models.Customer.account_id == account_id, models.Customer.email == email_address - ).order_by(models.Customer.id.asc()).all() + result = ( + session.query(models.Customer.id) + .filter( + models.Customer.account_id == account_id, + models.Customer.email == email_address, + ) + .order_by(models.Customer.id.asc()) + .all() + ) def long_lines():