Revert "Scheduled weekly dependency update for week 16"

This commit is contained in:
Rebecca Law
2021-04-28 10:17:16 +01:00
committed by GitHub
parent 10b0554784
commit 85895a9e8b
14 changed files with 62 additions and 57 deletions

View File

@@ -71,13 +71,7 @@ def dao_count_inbound_sms_for_service(service_id, limit_days):
def _insert_inbound_sms_history(subquery, query_limit=10000):
offset = 0
inbound_sms_query = db.session.query(
InboundSms.id,
InboundSms.created_at,
InboundSms.service_id,
InboundSms.notify_number,
InboundSms.provider_date,
InboundSms.provider_reference,
InboundSms.provider
*[x.name for x in InboundSmsHistory.__table__.c]
).filter(InboundSms.id.in_(subquery))
inbound_sms_count = inbound_sms_query.count()