diff --git a/stubs/rdfdb/grapheditapi.pyi b/stubs/rdfdb/grapheditapi.pyi new file mode 100644 --- /dev/null +++ b/stubs/rdfdb/grapheditapi.pyi @@ -0,0 +1,18 @@ +# Stubs for rdfdb.grapheditapi (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +import unittest +from typing import Any + +log: Any + +class GraphEditApi: + def getObjectPatch(self, context: Any, subject: Any, predicate: Any, newObject: Any): ... + def patchObject(self, context: Any, subject: Any, predicate: Any, newObject: Any) -> None: ... + def patchSubgraph(self, context: Any, newGraph: Any): ... + def patchMapping(self, context: Any, subject: Any, predicate: Any, nodeClass: Any, keyPred: Any, valuePred: Any, newKey: Any, newValue: Any) -> None: ... + def removeMappingNode(self, context: Any, node: Any) -> None: ... + +class TestPatchSubgraph(unittest.TestCase): + def testCollapsesIdenticalQuads(self) -> None: ...