Skip to content

Commit

Permalink
add default value for sectors
Browse files Browse the repository at this point in the history
  • Loading branch information
kdutia committed Dec 15, 2022
1 parent 169c63a commit 29a0d07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 29a0d07

Please # to comment.