Implement a database abstraction layer that will enable the use of different DB backends. #1019
Annotations
39 errors and 11 warnings
|
test (3.12, macos-14):
src/vectorcode/database/chroma0.py#L484
Argument of type "str | int | float | bool | SparseVector | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
Type "str | int | float | bool | SparseVector | None" is not assignable to type "ConvertibleToInt"
Type "SparseVector" is not assignable to type "ConvertibleToInt"
"SparseVector" is not assignable to "str"
"SparseVector" is incompatible with protocol "Buffer"
"__buffer__" is not present
"SparseVector" is incompatible with protocol "SupportsInt"
"__int__" is not present
"SparseVector" is incompatible with protocol "SupportsIndex"
... (reportArgumentType)
|
|
test (3.12, macos-14):
src/vectorcode/database/chroma0.py#L426
Argument of type "AsyncCollection" cannot be assigned to parameter "id" of type "CollectionID" in function "__init__"
"AsyncCollection" is not assignable to "str" (reportArgumentType)
|
|
test (3.12, macos-14):
src/vectorcode/database/chroma0.py#L423
Argument of type "AsyncCollection" cannot be assigned to parameter "collection_id" of type "str | None" in function "list_collection_content"
Type "AsyncCollection" is not assignable to type "str | None"
"AsyncCollection" is not assignable to "str"
"AsyncCollection" is not assignable to "None" (reportArgumentType)
|
|
test (3.12, macos-14):
src/vectorcode/database/chroma0.py#L421
Argument of type "AsyncCollection" cannot be assigned to parameter "name" of type "str" in function "get_collection"
"AsyncCollection" is not assignable to "str" (reportArgumentType)
|
|
test (3.12, macos-14):
src/vectorcode/database/chroma0.py#L68
Argument of type "str | int | float | bool | SparseVector | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
Type "str | int | float | bool | SparseVector | None" is not assignable to type "ConvertibleToInt"
Type "SparseVector" is not assignable to type "ConvertibleToInt"
"SparseVector" is not assignable to "str"
"SparseVector" is incompatible with protocol "Buffer"
"__buffer__" is not present
"SparseVector" is incompatible with protocol "SupportsInt"
"__int__" is not present
"SparseVector" is incompatible with protocol "SupportsIndex" (reportArgumentType)
|
|
test (3.12, macos-14):
src/vectorcode/database/chroma0.py#L68
Argument of type "str | int | float | bool | SparseVector | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
Type "str | int | float | bool | SparseVector | None" is not assignable to type "ConvertibleToInt"
Type "SparseVector" is not assignable to type "ConvertibleToInt"
"SparseVector" is not assignable to "str"
"SparseVector" is incompatible with protocol "Buffer"
"__buffer__" is not present
"SparseVector" is incompatible with protocol "SupportsInt"
"__int__" is not present
"SparseVector" is incompatible with protocol "SupportsIndex"
... (reportArgumentType)
|
|
test (3.12, macos-14):
src/vectorcode/database/chroma0.py#L66
Argument of type "str | int | float | bool | SparseVector | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
Type "str | int | float | bool | SparseVector | None" is not assignable to type "ConvertibleToInt"
Type "SparseVector" is not assignable to type "ConvertibleToInt"
"SparseVector" is not assignable to "str"
"SparseVector" is incompatible with protocol "Buffer"
"__buffer__" is not present
"SparseVector" is incompatible with protocol "SupportsInt"
"__int__" is not present
"SparseVector" is incompatible with protocol "SupportsIndex" (reportArgumentType)
|
|
test (3.12, macos-14):
src/vectorcode/database/chroma0.py#L66
Argument of type "str | int | float | bool | SparseVector | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
Type "str | int | float | bool | SparseVector | None" is not assignable to type "ConvertibleToInt"
Type "SparseVector" is not assignable to type "ConvertibleToInt"
"SparseVector" is not assignable to "str"
"SparseVector" is incompatible with protocol "Buffer"
"__buffer__" is not present
"SparseVector" is incompatible with protocol "SupportsInt"
"__int__" is not present
"SparseVector" is incompatible with protocol "SupportsIndex"
... (reportArgumentType)
|
|
test (3.12, macos-14):
src/vectorcode/database/chroma0.py#L21
"InvalidCollectionException" is unknown import symbol (reportAttributeAccessIssue)
|
|
test (3.12, macos-14):
src/vectorcode/database/chroma0.py#L19
"IncludeEnum" is unknown import symbol (reportAttributeAccessIssue)
|
|
test (3.11, ubuntu-latest)
The operation was canceled.
|
|
test (3.11, ubuntu-latest)
The strategy configuration was canceled because "test._3_12_macos-14" failed
|
|
test (3.13, ubuntu-latest)
The operation was canceled.
|
|
test (3.13, ubuntu-latest)
The strategy configuration was canceled because "test._3_12_macos-14" failed
|
|
test (3.11, macos-latest)
The operation was canceled.
|
|
test (3.11, macos-latest)
The strategy configuration was canceled because "test._3_12_macos-14" failed
|
|
test (3.11, ubuntu-24.04-arm)
The operation was canceled.
|
|
test (3.11, ubuntu-24.04-arm)
The strategy configuration was canceled because "test._3_12_macos-14" failed
|
|
test (3.12, ubuntu-latest)
The operation was canceled.
|
|
test (3.12, ubuntu-latest)
The strategy configuration was canceled because "test._3_12_macos-14" failed
|
|
test (3.13, macos-latest):
src/vectorcode/database/chroma0.py#L484
Argument of type "str | int | float | bool | SparseVector | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
Type "str | int | float | bool | SparseVector | None" is not assignable to type "ConvertibleToInt"
Type "SparseVector" is not assignable to type "ConvertibleToInt"
"SparseVector" is not assignable to "str"
"SparseVector" is incompatible with protocol "Buffer"
"__buffer__" is not present
"SparseVector" is incompatible with protocol "SupportsInt"
"__int__" is not present
"SparseVector" is incompatible with protocol "SupportsIndex"
... (reportArgumentType)
|
|
test (3.13, macos-latest):
src/vectorcode/database/chroma0.py#L426
Argument of type "AsyncCollection" cannot be assigned to parameter "id" of type "CollectionID" in function "__init__"
"AsyncCollection" is not assignable to "str" (reportArgumentType)
|
|
test (3.13, macos-latest):
src/vectorcode/database/chroma0.py#L423
Argument of type "AsyncCollection" cannot be assigned to parameter "collection_id" of type "str | None" in function "list_collection_content"
Type "AsyncCollection" is not assignable to type "str | None"
"AsyncCollection" is not assignable to "str"
"AsyncCollection" is not assignable to "None" (reportArgumentType)
|
|
test (3.13, macos-latest):
src/vectorcode/database/chroma0.py#L421
Argument of type "AsyncCollection" cannot be assigned to parameter "name" of type "str" in function "get_collection"
"AsyncCollection" is not assignable to "str" (reportArgumentType)
|
|
test (3.13, macos-latest):
src/vectorcode/database/chroma0.py#L68
Argument of type "str | int | float | bool | SparseVector | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
Type "str | int | float | bool | SparseVector | None" is not assignable to type "ConvertibleToInt"
Type "SparseVector" is not assignable to type "ConvertibleToInt"
"SparseVector" is not assignable to "str"
"SparseVector" is incompatible with protocol "Buffer"
"__buffer__" is not present
"SparseVector" is incompatible with protocol "SupportsInt"
"__int__" is not present
"SparseVector" is incompatible with protocol "SupportsIndex" (reportArgumentType)
|
|
test (3.13, macos-latest):
src/vectorcode/database/chroma0.py#L68
Argument of type "str | int | float | bool | SparseVector | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
Type "str | int | float | bool | SparseVector | None" is not assignable to type "ConvertibleToInt"
Type "SparseVector" is not assignable to type "ConvertibleToInt"
"SparseVector" is not assignable to "str"
"SparseVector" is incompatible with protocol "Buffer"
"__buffer__" is not present
"SparseVector" is incompatible with protocol "SupportsInt"
"__int__" is not present
"SparseVector" is incompatible with protocol "SupportsIndex"
... (reportArgumentType)
|
|
test (3.13, macos-latest):
src/vectorcode/database/chroma0.py#L66
Argument of type "str | int | float | bool | SparseVector | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
Type "str | int | float | bool | SparseVector | None" is not assignable to type "ConvertibleToInt"
Type "SparseVector" is not assignable to type "ConvertibleToInt"
"SparseVector" is not assignable to "str"
"SparseVector" is incompatible with protocol "Buffer"
"__buffer__" is not present
"SparseVector" is incompatible with protocol "SupportsInt"
"__int__" is not present
"SparseVector" is incompatible with protocol "SupportsIndex" (reportArgumentType)
|
|
test (3.13, macos-latest):
src/vectorcode/database/chroma0.py#L66
Argument of type "str | int | float | bool | SparseVector | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
Type "str | int | float | bool | SparseVector | None" is not assignable to type "ConvertibleToInt"
Type "SparseVector" is not assignable to type "ConvertibleToInt"
"SparseVector" is not assignable to "str"
"SparseVector" is incompatible with protocol "Buffer"
"__buffer__" is not present
"SparseVector" is incompatible with protocol "SupportsInt"
"__int__" is not present
"SparseVector" is incompatible with protocol "SupportsIndex"
... (reportArgumentType)
|
|
test (3.13, macos-latest):
src/vectorcode/database/chroma0.py#L21
"InvalidCollectionException" is unknown import symbol (reportAttributeAccessIssue)
|
|
test (3.13, macos-latest):
src/vectorcode/database/chroma0.py#L19
"IncludeEnum" is unknown import symbol (reportAttributeAccessIssue)
|
|
test (3.13, macos-latest)
The strategy configuration was canceled because "test._3_12_macos-14" failed
|
|
test (3.13, ubuntu-24.04-arm)
The operation was canceled.
|
|
test (3.13, ubuntu-24.04-arm)
The strategy configuration was canceled because "test._3_12_macos-14" failed
|
|
test (3.11, macos-14)
The operation was canceled.
|
|
test (3.11, macos-14)
The strategy configuration was canceled because "test._3_12_macos-14" failed
|
|
test (3.12, ubuntu-24.04-arm)
The operation was canceled.
|
|
test (3.12, ubuntu-24.04-arm)
The strategy configuration was canceled because "test._3_12_macos-14" failed
|
|
test (3.12, macos-latest)
The operation was canceled.
|
|
test (3.12, macos-latest)
The strategy configuration was canceled because "test._3_12_macos-14" failed
|
|
test (3.12, macos-14)
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
test (3.11, ubuntu-latest)
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
test (3.13, ubuntu-latest)
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
test (3.11, macos-latest)
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
test (3.11, ubuntu-24.04-arm)
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
test (3.12, ubuntu-latest)
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
test (3.13, macos-latest)
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
test (3.13, ubuntu-24.04-arm)
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
test (3.11, macos-14)
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
test (3.12, ubuntu-24.04-arm)
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
test (3.12, macos-latest)
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|