Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions python/zvec/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
# limitations under the License.
from __future__ import annotations

from typing import Optional, Union
from typing import Optional, TypeVar, Union

import numpy as np
from typing_extensions import TypeVar

# VectorType: DenseVectorType | SparseVectorType
DenseVectorType = Union[list[float], list[int], np.ndarray]
Expand Down
3 changes: 1 addition & 2 deletions python/zvec/extension/embedding_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
from __future__ import annotations

from abc import abstractmethod

from typing_extensions import Protocol, runtime_checkable
from typing import Protocol, runtime_checkable

from ..common.constants import MD, DenseVectorType, SparseVectorType

Expand Down