diff stubs/rdfdb/grapheditapi.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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stubs/rdfdb/grapheditapi.pyi	Sat May 25 12:01:26 2019 +0000
@@ -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: ...