From 2cbb80aaa11863233a2ebb36ef49fe13f5a1c3ee Mon Sep 17 00:00:00 2001 From: David Whittaker Date: Thu, 28 Sep 2023 11:12:20 -0700 Subject: [PATCH] Reformat --- src/dispatch/feedback/service/scheduled.py | 7 ++++++- src/dispatch/feedback/service/views.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/dispatch/feedback/service/scheduled.py b/src/dispatch/feedback/service/scheduled.py index 9bc17064aff9..3c7a3c48f079 100644 --- a/src/dispatch/feedback/service/scheduled.py +++ b/src/dispatch/feedback/service/scheduled.py @@ -60,7 +60,12 @@ def find_expired_reminders_and_send(*, db_session: SessionLocal, project: Projec def find_schedule_and_send( - *, db_session: SessionLocal, project: Project, oncall_plugin: PluginInstance, schedule_id: str, hour: int, + *, + db_session: SessionLocal, + project: Project, + oncall_plugin: PluginInstance, + schedule_id: str, + hour: int, ): """ Given PagerDuty schedule_id, determine if the shift ended for the previous oncall person and diff --git a/src/dispatch/feedback/service/views.py b/src/dispatch/feedback/service/views.py index b9d93024097f..280ec390ac5e 100644 --- a/src/dispatch/feedback/service/views.py +++ b/src/dispatch/feedback/service/views.py @@ -2,7 +2,7 @@ from dispatch.database.service import search_filter_sort_paginate, CommonParameters -from .models import (ServiceFeedbackPagination) +from .models import ServiceFeedbackPagination router = APIRouter()