Files @ 0f0ff27e55a3
Branch filter:

Location: light9/stubs/rdfdb/grapheditapi.pyi

Drew Perttula
stubs, mostly autogen or empty
Ignore-this: bc70818d2bc92bf022c65c3572b9775e
# 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: ...