Skip to content

Mentions reranker

Mentions reranker #364

Triggered via pull request September 18, 2024 16:24
Status Failure
Total duration 1m 32s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 notices
arg-type: graphiti_core/search/search.py#L155
Argument 1 to "len" has incompatible type "list[str] | None"; expected "Sized"
operator: graphiti_core/utils/maintenance/edge_operations.py#L167
No overload variant of "__add__" of "list" matches argument type "None"
operator: graphiti_core/utils/maintenance/edge_operations.py#L167
Unsupported left operand type for + ("None")
mypy
Process completed with exit code 1.
Note: graphiti_core/utils/maintenance/edge_operations.py#L167
Possible overload variants:
Note: graphiti_core/utils/maintenance/edge_operations.py#L167
def __add__(self, list[str], /) -> list[str]
Note: graphiti_core/utils/maintenance/edge_operations.py#L167
def [_S] __add__(self, list[_S], /) -> list[_S | str]
Note: graphiti_core/utils/maintenance/edge_operations.py#L167
Both left and right operands are unions