From a8bafb212f12ac6d8dd651f00349ddfdb1139866 Mon Sep 17 00:00:00 2001 From: Raynor Chavez Date: Mon, 14 Oct 2024 22:58:22 +1100 Subject: [PATCH] Fix backwards compatibility issue with get_settings (#1003) --- src/marqo/tensor_search/models/index_settings.py | 4 ++-- src/marqo/version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/marqo/tensor_search/models/index_settings.py b/src/marqo/tensor_search/models/index_settings.py index cd020bbb3..7470e13b0 100644 --- a/src/marqo/tensor_search/models/index_settings.py +++ b/src/marqo/tensor_search/models/index_settings.py @@ -36,11 +36,11 @@ class IndexSettings(StrictBaseModel): imagePreprocessing: core.ImagePreProcessing = core.ImagePreProcessing( patchMethod=None ) - videoPreprocessing: core.VideoPreProcessing = core.VideoPreProcessing( + videoPreprocessing: Optional[core.VideoPreProcessing] = core.VideoPreProcessing( splitLength=20, splitOverlap=3, ) - audioPreprocessing: core.AudioPreProcessing = core.AudioPreProcessing( + audioPreprocessing: Optional[core.AudioPreProcessing] = core.AudioPreProcessing( splitLength=10, splitOverlap=3, ) diff --git a/src/marqo/version.py b/src/marqo/version.py index 9d3004739..5767888eb 100644 --- a/src/marqo/version.py +++ b/src/marqo/version.py @@ -1,4 +1,4 @@ -__version__ = "2.12.2" +__version__ = "2.12.3" def get_version() -> str: return f"{__version__}"