Optionally get notifications created w/ test key

This is only for the method that the admin app uses; it doesn’t affect
the public get notifications endpoint.
This commit is contained in:
Chris Hill-Scott
2016-09-23 10:35:31 +01:00
parent f9f3bb8370
commit d7bb83fadf
3 changed files with 26 additions and 5 deletions

View File

@@ -422,6 +422,7 @@ class NotificationsFilterSchema(ma.Schema):
page_size = fields.Int(required=False)
limit_days = fields.Int(required=False)
include_jobs = fields.Boolean(required=False)
include_from_test_key = fields.Boolean(required=False)
@pre_load
def handle_multidict(self, in_data):