feat: adds VectorIndex extension #497
Annotations
10 errors
|
mypy:
src/codegen/extensions/vector_index.py#L66
error: Need type annotation for "current_chunk" (hint: "current_chunk: list[<type>] = ...") [var-annotated]
|
|
mypy:
src/codegen/extensions/vector_index.py#L118
error: Argument 1 to "_get_embeddings" of "VectorIndex" has incompatible type "tuple[Any, ...]"; expected "list[str]" [arg-type]
|
|
mypy:
src/codegen/extensions/vector_index.py#L149
error: Incompatible types in assignment (expression has type "Path", variable has type "str | None") [assignment]
|
|
mypy:
src/codegen/extensions/vector_index.py#L152
error: Item "str" of "str | None" has no attribute "parent" [union-attr]
|
|
mypy:
src/codegen/extensions/vector_index.py#L152
error: Item "None" of "str | None" has no attribute "parent" [union-attr]
|
|
mypy:
src/codegen/extensions/vector_index.py#L154
error: Argument 1 to "open" has incompatible type "str | None"; expected "int | str | bytes | PathLike[str] | PathLike[bytes]" [arg-type]
|
|
mypy:
src/codegen/extensions/vector_index.py#L164
error: Incompatible types in assignment (expression has type "Path", variable has type "str | None") [assignment]
|
|
mypy:
src/codegen/extensions/vector_index.py#L166
error: Item "str" of "str | None" has no attribute "exists" [union-attr]
|
|
mypy:
src/codegen/extensions/vector_index.py#L166
error: Item "None" of "str | None" has no attribute "exists" [union-attr]
|
|
mypy:
src/codegen/extensions/vector_index.py#L170
error: Argument 1 to "open" has incompatible type "str | None"; expected "int | str | bytes | PathLike[str] | PathLike[bytes]" [arg-type]
|