Skip to content

Commit

Permalink
Merge pull request #42 from climatepolicyradar/fix/remove-sectors-inp…
Browse files Browse the repository at this point in the history
…ut-validation

remove sectors from input validation as sector data not in pipeline
  • Loading branch information
kdutia authored Dec 15, 2022
2 parents e5d48cd + 29a0d07 commit 6e205de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ class DocumentMetadata(BaseModel):
category: str
source: str
type: str
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 6e205de

Please # to comment.