Issue 2283: Add type-review support for SPARQL query results from Graph.query #1874
0 passed, 12 failed and 0 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
3.10-macos-latest-mypy-junit.xml | 1❌ | 5s | ||
3.10-ubuntu-latest-mypy-junit.xml | 1❌ | 10s | ||
3.10-windows-latest-mypy-junit.xml | 1❌ | 13s | ||
3.11-macos-latest-mypy-junit.xml | 1❌ | 5s | ||
3.11-ubuntu-latest-mypy-junit.xml | 1❌ | 11s | ||
3.11-windows-latest-mypy-junit.xml | 1❌ | 12s | ||
3.8-macos-latest-mypy-junit.xml | 1❌ | 5s | ||
3.8-ubuntu-latest-mypy-junit.xml | 1❌ | 11s | ||
3.8-windows-latest-mypy-junit.xml | 1❌ | 12s | ||
3.9-macos-latest-mypy-junit.xml | 1❌ | 5s | ||
3.9-ubuntu-latest-mypy-junit.xml | 1❌ | 12s | ||
3.9-windows-latest-mypy-junit.xml | 1❌ | 13s |
❌ 3.10-macos-latest-mypy-junit.xml
1 tests were completed in 5s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 5s |
❌ mypy
❌ mypy-py3_8-darwin
rdflib/graph.py: note: In member "query" of class "Graph":
❌ 3.10-ubuntu-latest-mypy-junit.xml
1 tests were completed in 10s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 10s |
❌ mypy
❌ mypy-py3_8-linux
rdflib/graph.py: note: In member "query" of class "Graph":
❌ 3.10-windows-latest-mypy-junit.xml
1 tests were completed in 13s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 13s |
❌ mypy
❌ mypy-py3_8-win32
rdflib\graph.py: note: In member "query" of class "Graph":
❌ 3.11-macos-latest-mypy-junit.xml
1 tests were completed in 5s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 5s |
❌ mypy
❌ mypy-py3_8-darwin
rdflib/graph.py: note: In member "query" of class "Graph":
❌ 3.11-ubuntu-latest-mypy-junit.xml
1 tests were completed in 11s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 11s |
❌ mypy
❌ mypy-py3_8-linux
rdflib/graph.py: note: In member "query" of class "Graph":
❌ 3.11-windows-latest-mypy-junit.xml
1 tests were completed in 12s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 12s |
❌ mypy
❌ mypy-py3_8-win32
rdflib\graph.py: note: In member "query" of class "Graph":
❌ 3.8-macos-latest-mypy-junit.xml
1 tests were completed in 5s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 5s |
❌ mypy
❌ mypy-py3_8-darwin
rdflib/graph.py: note: In member "query" of class "Graph":
❌ 3.8-ubuntu-latest-mypy-junit.xml
1 tests were completed in 11s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 11s |
❌ mypy
❌ mypy-py3_8-linux
rdflib/graph.py: note: In member "query" of class "Graph":
❌ 3.8-windows-latest-mypy-junit.xml
1 tests were completed in 12s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 12s |
❌ mypy
❌ mypy-py3_8-win32
rdflib\graph.py: note: In member "query" of class "Graph":
❌ 3.9-macos-latest-mypy-junit.xml
1 tests were completed in 5s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 5s |
❌ mypy
❌ mypy-py3_8-darwin
rdflib/graph.py: note: In member "query" of class "Graph":
❌ 3.9-ubuntu-latest-mypy-junit.xml
1 tests were completed in 12s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 12s |
❌ mypy
❌ mypy-py3_8-linux
rdflib/graph.py: note: In member "query" of class "Graph":
❌ 3.9-windows-latest-mypy-junit.xml
1 tests were completed in 13s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
mypy | 1❌ | 13s |
❌ mypy
❌ mypy-py3_8-win32
rdflib\graph.py: note: In member "query" of class "Graph":
Annotations
Check failure on line 0 in 3.10-macos-latest-mypy-junit.xml
github-actions / mypy report
mypy ► mypy-py3_8-darwin
Failed test found in:
3.10-macos-latest-mypy-junit.xml
Error:
rdflib/graph.py: note: In member "query" of class "Graph":
Raw output
rdflib/graph.py: note: In member "query" of class "Graph":
rdflib/graph.py:1525: error: Name "AskQuery" is not defined [name-defined]
rdflib/graph.py:1526: error: Name "ConstructQuery" is not defined [name-defined]
rdflib/graph.py:1527: error: Name "DescribeQuery" is not defined [name-defined]
rdflib/graph.py:1528: error: Name "SelectQuery" is not defined [name-defined]
test/test_typing.py: note: In function "test_rdflib_construct_query_result_exercise":
test/test_typing.py:162: error: Argument 1 to "add" of "Graph" has incompatible type "Union[Tuple[Node, Node, Node], bool, ResultRow]"; expected "Tuple[Node, Node, Node]" [arg-type]
test/test_typing.py: note: In function "test_rdflib_select_query_result_exercise":
test/test_typing.py:186: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
test/test_typing.py:187: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
Check failure on line 0 in 3.10-ubuntu-latest-mypy-junit.xml
github-actions / mypy report
mypy ► mypy-py3_8-linux
Failed test found in:
3.10-ubuntu-latest-mypy-junit.xml
Error:
rdflib/graph.py: note: In member "query" of class "Graph":
Raw output
rdflib/graph.py: note: In member "query" of class "Graph":
rdflib/graph.py:1525: error: Name "AskQuery" is not defined [name-defined]
rdflib/graph.py:1526: error: Name "ConstructQuery" is not defined [name-defined]
rdflib/graph.py:1527: error: Name "DescribeQuery" is not defined [name-defined]
rdflib/graph.py:1528: error: Name "SelectQuery" is not defined [name-defined]
test/test_typing.py: note: In function "test_rdflib_construct_query_result_exercise":
test/test_typing.py:162: error: Argument 1 to "add" of "Graph" has incompatible type "Union[Tuple[Node, Node, Node], bool, ResultRow]"; expected "Tuple[Node, Node, Node]" [arg-type]
test/test_typing.py: note: In function "test_rdflib_select_query_result_exercise":
test/test_typing.py:186: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
test/test_typing.py:187: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
Check failure on line 0 in 3.10-windows-latest-mypy-junit.xml
github-actions / mypy report
mypy ► mypy-py3_8-win32
Failed test found in:
3.10-windows-latest-mypy-junit.xml
Error:
rdflib\graph.py: note: In member "query" of class "Graph":
Raw output
rdflib\graph.py: note: In member "query" of class "Graph":
rdflib\graph.py:1525: error: Name "AskQuery" is not defined [name-defined]
rdflib\graph.py:1526: error: Name "ConstructQuery" is not defined [name-defined]
rdflib\graph.py:1527: error: Name "DescribeQuery" is not defined [name-defined]
rdflib\graph.py:1528: error: Name "SelectQuery" is not defined [name-defined]
test\test_typing.py: note: In function "test_rdflib_construct_query_result_exercise":
test\test_typing.py:162: error: Argument 1 to "add" of "Graph" has incompatible type "Union[Tuple[Node, Node, Node], bool, ResultRow]"; expected "Tuple[Node, Node, Node]" [arg-type]
test\test_typing.py: note: In function "test_rdflib_select_query_result_exercise":
test\test_typing.py:186: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
test\test_typing.py:187: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
Check failure on line 0 in 3.11-macos-latest-mypy-junit.xml
github-actions / mypy report
mypy ► mypy-py3_8-darwin
Failed test found in:
3.11-macos-latest-mypy-junit.xml
Error:
rdflib/graph.py: note: In member "query" of class "Graph":
Raw output
rdflib/graph.py: note: In member "query" of class "Graph":
rdflib/graph.py:1525: error: Name "AskQuery" is not defined [name-defined]
rdflib/graph.py:1526: error: Name "ConstructQuery" is not defined [name-defined]
rdflib/graph.py:1527: error: Name "DescribeQuery" is not defined [name-defined]
rdflib/graph.py:1528: error: Name "SelectQuery" is not defined [name-defined]
test/test_typing.py: note: In function "test_rdflib_construct_query_result_exercise":
test/test_typing.py:162: error: Argument 1 to "add" of "Graph" has incompatible type "Union[Tuple[Node, Node, Node], bool, ResultRow]"; expected "Tuple[Node, Node, Node]" [arg-type]
test/test_typing.py: note: In function "test_rdflib_select_query_result_exercise":
test/test_typing.py:186: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
test/test_typing.py:187: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
Check failure on line 0 in 3.11-ubuntu-latest-mypy-junit.xml
github-actions / mypy report
mypy ► mypy-py3_8-linux
Failed test found in:
3.11-ubuntu-latest-mypy-junit.xml
Error:
rdflib/graph.py: note: In member "query" of class "Graph":
Raw output
rdflib/graph.py: note: In member "query" of class "Graph":
rdflib/graph.py:1525: error: Name "AskQuery" is not defined [name-defined]
rdflib/graph.py:1526: error: Name "ConstructQuery" is not defined [name-defined]
rdflib/graph.py:1527: error: Name "DescribeQuery" is not defined [name-defined]
rdflib/graph.py:1528: error: Name "SelectQuery" is not defined [name-defined]
test/test_typing.py: note: In function "test_rdflib_construct_query_result_exercise":
test/test_typing.py:162: error: Argument 1 to "add" of "Graph" has incompatible type "Union[Tuple[Node, Node, Node], bool, ResultRow]"; expected "Tuple[Node, Node, Node]" [arg-type]
test/test_typing.py: note: In function "test_rdflib_select_query_result_exercise":
test/test_typing.py:186: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
test/test_typing.py:187: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
Check failure on line 0 in 3.11-windows-latest-mypy-junit.xml
github-actions / mypy report
mypy ► mypy-py3_8-win32
Failed test found in:
3.11-windows-latest-mypy-junit.xml
Error:
rdflib\graph.py: note: In member "query" of class "Graph":
Raw output
rdflib\graph.py: note: In member "query" of class "Graph":
rdflib\graph.py:1525: error: Name "AskQuery" is not defined [name-defined]
rdflib\graph.py:1526: error: Name "ConstructQuery" is not defined [name-defined]
rdflib\graph.py:1527: error: Name "DescribeQuery" is not defined [name-defined]
rdflib\graph.py:1528: error: Name "SelectQuery" is not defined [name-defined]
test\test_typing.py: note: In function "test_rdflib_construct_query_result_exercise":
test\test_typing.py:162: error: Argument 1 to "add" of "Graph" has incompatible type "Union[Tuple[Node, Node, Node], bool, ResultRow]"; expected "Tuple[Node, Node, Node]" [arg-type]
test\test_typing.py: note: In function "test_rdflib_select_query_result_exercise":
test\test_typing.py:186: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
test\test_typing.py:187: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
Check failure on line 0 in 3.8-macos-latest-mypy-junit.xml
github-actions / mypy report
mypy ► mypy-py3_8-darwin
Failed test found in:
3.8-macos-latest-mypy-junit.xml
Error:
rdflib/graph.py: note: In member "query" of class "Graph":
Raw output
rdflib/graph.py: note: In member "query" of class "Graph":
rdflib/graph.py:1525: error: Name "AskQuery" is not defined [name-defined]
rdflib/graph.py:1526: error: Name "ConstructQuery" is not defined [name-defined]
rdflib/graph.py:1527: error: Name "DescribeQuery" is not defined [name-defined]
rdflib/graph.py:1528: error: Name "SelectQuery" is not defined [name-defined]
test/test_typing.py: note: In function "test_rdflib_construct_query_result_exercise":
test/test_typing.py:162: error: Argument 1 to "add" of "Graph" has incompatible type "Union[Tuple[Node, Node, Node], bool, ResultRow]"; expected "Tuple[Node, Node, Node]" [arg-type]
test/test_typing.py: note: In function "test_rdflib_select_query_result_exercise":
test/test_typing.py:186: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
test/test_typing.py:187: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
Check failure on line 0 in 3.8-ubuntu-latest-mypy-junit.xml
github-actions / mypy report
mypy ► mypy-py3_8-linux
Failed test found in:
3.8-ubuntu-latest-mypy-junit.xml
Error:
rdflib/graph.py: note: In member "query" of class "Graph":
Raw output
rdflib/graph.py: note: In member "query" of class "Graph":
rdflib/graph.py:1525: error: Name "AskQuery" is not defined [name-defined]
rdflib/graph.py:1526: error: Name "ConstructQuery" is not defined [name-defined]
rdflib/graph.py:1527: error: Name "DescribeQuery" is not defined [name-defined]
rdflib/graph.py:1528: error: Name "SelectQuery" is not defined [name-defined]
test/test_typing.py: note: In function "test_rdflib_construct_query_result_exercise":
test/test_typing.py:162: error: Argument 1 to "add" of "Graph" has incompatible type "Union[Tuple[Node, Node, Node], bool, ResultRow]"; expected "Tuple[Node, Node, Node]" [arg-type]
test/test_typing.py: note: In function "test_rdflib_select_query_result_exercise":
test/test_typing.py:186: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
test/test_typing.py:187: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
Check failure on line 0 in 3.8-windows-latest-mypy-junit.xml
github-actions / mypy report
mypy ► mypy-py3_8-win32
Failed test found in:
3.8-windows-latest-mypy-junit.xml
Error:
rdflib\graph.py: note: In member "query" of class "Graph":
Raw output
rdflib\graph.py: note: In member "query" of class "Graph":
rdflib\graph.py:1525: error: Name "AskQuery" is not defined [name-defined]
rdflib\graph.py:1526: error: Name "ConstructQuery" is not defined [name-defined]
rdflib\graph.py:1527: error: Name "DescribeQuery" is not defined [name-defined]
rdflib\graph.py:1528: error: Name "SelectQuery" is not defined [name-defined]
test\test_typing.py: note: In function "test_rdflib_construct_query_result_exercise":
test\test_typing.py:162: error: Argument 1 to "add" of "Graph" has incompatible type "Union[Tuple[Node, Node, Node], bool, ResultRow]"; expected "Tuple[Node, Node, Node]" [arg-type]
test\test_typing.py: note: In function "test_rdflib_select_query_result_exercise":
test\test_typing.py:186: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
test\test_typing.py:187: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
Check failure on line 0 in 3.9-macos-latest-mypy-junit.xml
github-actions / mypy report
mypy ► mypy-py3_8-darwin
Failed test found in:
3.9-macos-latest-mypy-junit.xml
Error:
rdflib/graph.py: note: In member "query" of class "Graph":
Raw output
rdflib/graph.py: note: In member "query" of class "Graph":
rdflib/graph.py:1525: error: Name "AskQuery" is not defined [name-defined]
rdflib/graph.py:1526: error: Name "ConstructQuery" is not defined [name-defined]
rdflib/graph.py:1527: error: Name "DescribeQuery" is not defined [name-defined]
rdflib/graph.py:1528: error: Name "SelectQuery" is not defined [name-defined]
test/test_typing.py: note: In function "test_rdflib_construct_query_result_exercise":
test/test_typing.py:162: error: Argument 1 to "add" of "Graph" has incompatible type "Union[Tuple[Node, Node, Node], bool, ResultRow]"; expected "Tuple[Node, Node, Node]" [arg-type]
test/test_typing.py: note: In function "test_rdflib_select_query_result_exercise":
test/test_typing.py:186: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
test/test_typing.py:187: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
Check failure on line 0 in 3.9-ubuntu-latest-mypy-junit.xml
github-actions / mypy report
mypy ► mypy-py3_8-linux
Failed test found in:
3.9-ubuntu-latest-mypy-junit.xml
Error:
rdflib/graph.py: note: In member "query" of class "Graph":
Raw output
rdflib/graph.py: note: In member "query" of class "Graph":
rdflib/graph.py:1525: error: Name "AskQuery" is not defined [name-defined]
rdflib/graph.py:1526: error: Name "ConstructQuery" is not defined [name-defined]
rdflib/graph.py:1527: error: Name "DescribeQuery" is not defined [name-defined]
rdflib/graph.py:1528: error: Name "SelectQuery" is not defined [name-defined]
test/test_typing.py: note: In function "test_rdflib_construct_query_result_exercise":
test/test_typing.py:162: error: Argument 1 to "add" of "Graph" has incompatible type "Union[Tuple[Node, Node, Node], bool, ResultRow]"; expected "Tuple[Node, Node, Node]" [arg-type]
test/test_typing.py: note: In function "test_rdflib_select_query_result_exercise":
test/test_typing.py:186: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]
test/test_typing.py:187: error: Value of type "Union[Tuple[Node, Node, Node], bool, ResultRow]" is not indexable [index]