Skip to content

Commit 280800c

Browse files
authored
add outages to raw_report schema (#328)
1 parent b040175 commit 280800c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sfa_api/schema.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,6 +1623,15 @@ class RawReportSchema(ma.Schema):
16231623
missing=None,
16241624
validate=[UserstringValidator(), validate.Length(equal=64)]
16251625
)
1626+
outages = ma.List(
1627+
ma.Nested(ReportOutageSchema()),
1628+
many=True,
1629+
title="Outages",
1630+
description=(
1631+
"List of periods for which the forecast submissions were"
1632+
"dropped from analysis."
1633+
)
1634+
)
16261635

16271636

16281637
@spec.define_schema('ReportSchema')

0 commit comments

Comments
 (0)