From 6023413b14f99ea81ea8351491299fadf499c1b9 Mon Sep 17 00:00:00 2001 From: luca-cohere Date: Fri, 13 Dec 2024 09:55:27 -0800 Subject: [PATCH] fix: set the default value of DocumentStatus.updated_at to None. (#68) 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`. --- cohere/compass/models/datasources.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cohere/compass/models/datasources.py b/cohere/compass/models/datasources.py index 9df8c19..0b91693 100644 --- a/cohere/compass/models/datasources.py +++ b/cohere/compass/models/datasources.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index c441d69..7800788 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "compass-sdk" -version = "0.10.0" +version = "0.10.1" authors = [] description = "Compass SDK" readme = "README.md"