improve deduping issue #31
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.
|