chore[deps]: upgrade dependencies with uv lock --upgrade (#5358)

* chore: upgrade dependencies with `uv lock --upgrade`

* linting

* upgrade PR title

---------

Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com>
Co-authored-by: Sydney Runkle <sydneymarierunkle@gmail.com>
This commit is contained in:
github-actions[bot]
2025-07-07 23:24:32 +00:00
committed by GitHub
co-authored by sydney-runkle Sydney Runkle
parent 4c73b176ff
commit 87f2e69395
18 changed files with 1486 additions and 1282 deletions
@@ -448,10 +448,8 @@ class BasePostgresStore(Generic[C]):
score_operator, post_operator = get_distance_operator(self)
post_operator = post_operator.replace("scored", "uniq")
vector_type = (
cast(PostgresIndexConfig, self.index_config)
.get("ann_index_config", {})
.get("vector_type", "vector")
vector_type = self.index_config.get("ann_index_config", {}).get(
"vector_type", "vector"
)
# For hamming bit vectors, or “regular” vectors
@@ -1141,7 +1139,7 @@ def _get_vector_type_ops(store: BasePostgresStore) -> str:
if not store.index_config:
return "vector_cosine_ops"
config = cast(PostgresIndexConfig, store.index_config)
config = store.index_config
index_config = config.get("ann_index_config", _DEFAULT_ANN_CONFIG).copy()
vector_type = cast(str, index_config.get("vector_type", "vector"))
if vector_type not in ("vector", "halfvec"):