Skip to content

improve deduping issue #31

improve deduping issue

improve deduping issue #31

Triggered via pull request August 23, 2024 15:21
Status Failure
Total duration 1m 38s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
union-attr: core/utils/bulk_utils.py#L142
Item "None" of "EntityNode | None" has no attribute "name_embedding"
arg-type: core/utils/bulk_utils.py#L142
Argument 1 to "dot" has incompatible type "list[float] | Any | None"; expected "_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]"
arg-type: core/utils/bulk_utils.py#L142
Argument 2 to "dot" has incompatible type "list[float] | None"; expected "_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]"
union-attr: core/utils/bulk_utils.py#L164
Item "None" of "EntityEdge | None" has no attribute "fact_embedding"
arg-type: core/utils/bulk_utils.py#L164
Argument 1 to "dot" has incompatible type "list[float] | Any | None"; expected "_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]"
arg-type: core/utils/bulk_utils.py#L164
Argument 2 to "dot" has incompatible type "list[float] | None"; expected "_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]"
mypy
Process completed with exit code 1.