mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-19 14:08:47 -04:00
Bump flake8-bugbear from 24.12.12 to 25.10.21 (#2052)
* Bump flake8-bugbear from 24.12.12 to 25.10.21 Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 24.12.12 to 25.10.21. - [Release notes](https://github.com/PyCQA/flake8-bugbear/releases) - [Commits](https://github.com/PyCQA/flake8-bugbear/compare/24.12.12...25.10.21) --- updated-dependencies: - dependency-name: flake8-bugbear dependency-version: 25.10.21 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Fix flake8-bugbear B042 violations in exception classes * Trigger CI re-run * Regenerate poetry.lock with Poetry 2.1.3 for CI compatibility * Regenerated poetry hash again --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Janousek <alex.janousek@gsa.gov>
This commit is contained in:
@@ -351,10 +351,7 @@ def dao_get_notification_counts_for_organization(service_ids, current_year):
|
||||
end_date = datetime(current_year + 1, 6, 16)
|
||||
|
||||
stmt1 = (
|
||||
select(
|
||||
Notification.service_id,
|
||||
func.count().label("count")
|
||||
)
|
||||
select(Notification.service_id, func.count().label("count"))
|
||||
.where(
|
||||
Notification.service_id.in_(service_ids),
|
||||
Notification.status
|
||||
@@ -370,10 +367,7 @@ def dao_get_notification_counts_for_organization(service_ids, current_year):
|
||||
)
|
||||
|
||||
stmt2 = (
|
||||
select(
|
||||
NotificationHistory.service_id,
|
||||
func.count().label("count")
|
||||
)
|
||||
select(NotificationHistory.service_id, func.count().label("count"))
|
||||
.where(
|
||||
NotificationHistory.service_id.in_(service_ids),
|
||||
NotificationHistory.status
|
||||
|
||||
Reference in New Issue
Block a user