From 3c7b7fbafc7ca5ae78e275cb3222275e9cfae9b6 2016-08-10 11:35:06 From: Marcin Lulek Date: 2016-08-10 11:35:06 Subject: [PATCH] general metrics: require tags to be present --- diff --git a/backend/src/appenlight/validators.py b/backend/src/appenlight/validators.py index f5cfe32..677f691 100644 --- a/backend/src/appenlight/validators.py +++ b/backend/src/appenlight/validators.py @@ -480,7 +480,7 @@ class GeneralMetricSchema(colander.MappingSchema): missing='unknown') timestamp = colander.SchemaNode(NonTZDate(), validator=limited_date, missing=deferred_utcnow) - tags = TagSchemaList() + tags = TagSchemaList(missing=colander.required) class GeneralMetricsListSchema(colander.SequenceSchema):