mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-04 12:18:25 -04:00
code review feedback
This commit is contained in:
@@ -270,7 +270,6 @@ def get_notifications_for_job(
|
||||
def get_recent_notifications_for_job(
|
||||
service_id, job_id, filter_dict=None, page=1, page_size=None
|
||||
):
|
||||
print(f"FILTER_DICT AT DAO LEVEL {filter_dict}")
|
||||
if page_size is None:
|
||||
page_size = current_app.config["PAGE_SIZE"]
|
||||
|
||||
@@ -281,7 +280,6 @@ def get_recent_notifications_for_job(
|
||||
|
||||
stmt = _filter_query(stmt, filter_dict)
|
||||
stmt = stmt.order_by(desc(Notification.job_row_number))
|
||||
print(f"STMT {stmt}")
|
||||
results = db.session.execute(stmt).scalars().all()
|
||||
|
||||
page_size = current_app.config["PAGE_SIZE"]
|
||||
|
||||
Reference in New Issue
Block a user