Skip to content

Commit

Permalink
fix: set the default value of DocumentStatus.updated_at to None.
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-cohere committed Dec 13, 2024
1 parent 14514bf commit ec7f617
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cohere/compass/models/datasources.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ class DocumentStatus(pydantic.BaseModel):
state: str
destinations: typing.List[str]
created_at: datetime.datetime
updated_at: typing.Optional[datetime.datetime]
updated_at: typing.Optional[datetime.datetime] = None
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "compass-sdk"
version = "0.10.0"
version = "0.10.1"
authors = []
description = "Compass SDK"
readme = "README.md"
Expand Down

0 comments on commit ec7f617

Please sign in to comment.