Skip to content

Commit

Permalink
Updating field to be optional. (#52)
Browse files Browse the repository at this point in the history
Updating field to be optional as this is now optional in the identify
updates stage and thus new_and_updated_documents object.

Co-authored-by: Mark <[email protected]>
  • Loading branch information
THOR300 and Mark authored May 24, 2023
1 parent cd93e95 commit 4e213ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/navigator_data_ingest/base/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ def __init__(self, content_type: str):
class Update(BaseModel):
"""Class describing the results of comparing csv data against the db data to identify updates."""

s3_value: Optional[Union[str, datetime]]
db_value: Union[str, datetime]
s3_value: Union[str, datetime]
type: UpdateTypes


Expand Down

0 comments on commit 4e213ed

Please sign in to comment.