Files @ 16af5a343e00
Branch filter:

Location: light9/stubs/rdfdb/grapheditapi.pyi

drewp@bigasterisk.com
2019 data
Ignore-this: 5f0ae433d06c7183cf7af104c45073a7
# 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: ...