mirror of
https://github.com/qdrant/qdrant-client.git
synced 2026-07-26 20:51:09 -05:00
* new: drop python 3.8 support, update type hints * fix: remove 3.8 from ci * fix: update type hints * fix: make netlify use python3.10 * fix: try python3.9 for sphinx * debug: try updating sphinx * new: bump ffastembed to 0.4.2 * fix: install numpy<2 for mypy * fix: install numpy via poetry
26 lines
550 B
Python
26 lines
550 B
Python
from typing import Union
|
|
|
|
from pydantic import StrictFloat, StrictStr
|
|
|
|
from qdrant_client.http.models import ExtendedPointId, SparseVector
|
|
|
|
|
|
NumericVector = Union[
|
|
list[StrictFloat],
|
|
SparseVector,
|
|
list[list[StrictFloat]],
|
|
]
|
|
NumericVectorInput = Union[
|
|
list[StrictFloat],
|
|
SparseVector,
|
|
list[list[StrictFloat]],
|
|
ExtendedPointId,
|
|
]
|
|
NumericVectorStruct = Union[
|
|
list[StrictFloat],
|
|
list[list[StrictFloat]],
|
|
dict[StrictStr, NumericVector],
|
|
]
|
|
|
|
__all__ = ["NumericVector", "NumericVectorInput", "NumericVectorStruct"]
|