From 83a7df64cc9af5c4e78641ac2d34499f2b67ea14 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 18 Nov 2024 12:38:33 -0800 Subject: [PATCH] try fixing pagination --- tests/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/__init__.py b/tests/__init__.py index 88f52dae5..47c911386 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -14,8 +14,9 @@ from app.models import ApiKey def create_service_authorization_header(service_id, key_type=KeyType.NORMAL): client_id = str(service_id) secrets = ( - db.session.execute(select(ApiKey) - .filter_by(service_id=service_id, key_type=key_type)) + db.session.execute( + select(ApiKey).filter_by(service_id=service_id, key_type=key_type) + ) .scalars() .all() )