mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 01:11:38 -05:00
Replaced `.with_for_lockmode()`, which is now deprecated, with `.with_for_update() - https://docs.sqlalchemy.org/en/latest/orm/query.html#sqlalchemy.orm.query.Query.with_lockmode The function should update any statuses that are not 'final', so added `pending-virus-check` to the list of statuses that the function can update.