Skip to content

Commit

Permalink
fix: set the default value of DocumentStatus.updated_at to None. (#68)
Browse files Browse the repository at this point in the history
<!-- begin-generated-description -->

This pull request updates the `DocumentStatus` class in the
`datasources.py` file and the `version` in the `pyproject.toml` file.

## Changes
- The `updated_at` field in the `DocumentStatus` class is now set to
`None` by default.
- The `version` in the `pyproject.toml` file is updated from `0.10.0` to
`0.10.1`.

<!-- end-generated-description -->
  • Loading branch information
luca-cohere authored Dec 13, 2024
1 parent 14514bf commit 6023413
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 6023413

Please sign in to comment.