mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 05:43:12 -04:00
Provider Statistics added.
Rates command added with a test. Updated to include added migration.
This commit is contained in:
5
app/dao/provider_statistics_dao.py
Normal file
5
app/dao/provider_statistics_dao.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from app.models import ProviderStatistics
|
||||
|
||||
|
||||
def get_provider_statistics(service, provider):
|
||||
return ProviderStatistics.query.filter_by(service=service, provider=provider).one()
|
||||
Reference in New Issue
Block a user