From 29a0d0726fdc8a4fe5954f2ba8b6eacd2a0b4c89 Mon Sep 17 00:00:00 2001 From: Kalyan Dutia Date: Thu, 15 Dec 2022 12:43:49 +0000 Subject: [PATCH] add default value for sectors --- src/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base.py b/src/base.py index d986fe6..5e69848 100644 --- a/src/base.py +++ b/src/base.py @@ -16,8 +16,8 @@ class DocumentMetadata(BaseModel): category: str source: str type: str - # TODO: re-enable sector when it's gone through the pipeline - # sectors: Sequence[str] + # TODO: remove default value for sectors once they are in the pipeline + sectors: Sequence[str] = [] @root_validator def convert_publication_ts_to_date(cls, values):