Mercurial > code > home > repos > light9
comparison stubs/rdfdb/rdflibpatch.pyi @ 1863:0f0ff27e55a3
stubs, mostly autogen or empty
Ignore-this: bc70818d2bc92bf022c65c3572b9775e
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 25 May 2019 12:01:26 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1862:d92757c88817 | 1863:0f0ff27e55a3 |
---|---|
1 # Stubs for rdfdb.rdflibpatch (Python 3) | |
2 # | |
3 # NOTE: This dynamically typed stub was automatically generated by stubgen. | |
4 | |
5 import unittest | |
6 from typing import Any | |
7 | |
8 def patchQuads(graph: Any, deleteQuads: Any, addQuads: Any, perfect: bool = ...) -> None: ... | |
9 def fixContextToUri(spoc: Any): ... | |
10 def inGraph(spoc: Any, graph: Any): ... | |
11 def graphFromQuads(q: Any): ... | |
12 def graphFromNQuad(text: Any): ... | |
13 def serializeQuad(g: Any): ... | |
14 def inContext(graph: Any, newContext: Any): ... | |
15 def contextsForStatement(graph: Any, triple: Any): ... | |
16 | |
17 A: Any | |
18 B: Any | |
19 | |
20 class TestInContext(unittest.TestCase): | |
21 def testResultHasQuads(self) -> None: ... | |
22 | |
23 class TestContextsForStatement(unittest.TestCase): | |
24 def testNotFound(self) -> None: ... | |
25 def testOneContext(self) -> None: ... | |
26 def testTwoContexts(self) -> None: ... | |
27 | |
28 class TestInGraph(unittest.TestCase): | |
29 def testSimpleMatch(self) -> None: ... | |
30 def testDontMatchDifferentStatement(self) -> None: ... | |
31 def testDontMatchStatementInAnotherContext(self) -> None: ... | |
32 | |
33 class TestGraphFromQuads(unittest.TestCase): | |
34 nqOut: str = ... | |
35 def testSerializes(self) -> None: ... | |
36 def testNquadParserSerializes(self) -> None: ... | |
37 | |
38 C: Any | |
39 CTX1: Any | |
40 CTX2: Any | |
41 stmt1: Any | |
42 stmt2: Any | |
43 | |
44 class TestPatchQuads(unittest.TestCase): | |
45 def testAddsToNewContext(self) -> None: ... | |
46 def testDeletes(self) -> None: ... | |
47 def testDeleteRunsBeforeAdd(self) -> None: ... | |
48 def testPerfectAddRejectsExistingStmt(self) -> None: ... | |
49 def testPerfectAddAllowsExistingStmtInNewContext(self) -> None: ... | |
50 def testPerfectDeleteRejectsAbsentStmt(self) -> None: ... | |
51 def testPerfectDeleteRejectsStmtFromOtherGraph(self) -> None: ... | |
52 def testPerfectDeleteAllowsRemovalOfStmtInMultipleContexts(self) -> None: ... | |
53 def testRedundantStmtOkForAddOrDelete(self) -> None: ... |