Mercurial > code > home > repos > light9
view stubs/rdfdb/rdflibpatch.pyi @ 1865:1aa91a31c0e2
reformat some missed files
Ignore-this: f13152975437adeb48ed619ab676365e
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 25 May 2019 12:06:01 +0000 |
parents | 0f0ff27e55a3 |
children |
line wrap: on
line source
# Stubs for rdfdb.rdflibpatch (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. import unittest from typing import Any def patchQuads(graph: Any, deleteQuads: Any, addQuads: Any, perfect: bool = ...) -> None: ... def fixContextToUri(spoc: Any): ... def inGraph(spoc: Any, graph: Any): ... def graphFromQuads(q: Any): ... def graphFromNQuad(text: Any): ... def serializeQuad(g: Any): ... def inContext(graph: Any, newContext: Any): ... def contextsForStatement(graph: Any, triple: Any): ... A: Any B: Any class TestInContext(unittest.TestCase): def testResultHasQuads(self) -> None: ... class TestContextsForStatement(unittest.TestCase): def testNotFound(self) -> None: ... def testOneContext(self) -> None: ... def testTwoContexts(self) -> None: ... class TestInGraph(unittest.TestCase): def testSimpleMatch(self) -> None: ... def testDontMatchDifferentStatement(self) -> None: ... def testDontMatchStatementInAnotherContext(self) -> None: ... class TestGraphFromQuads(unittest.TestCase): nqOut: str = ... def testSerializes(self) -> None: ... def testNquadParserSerializes(self) -> None: ... C: Any CTX1: Any CTX2: Any stmt1: Any stmt2: Any class TestPatchQuads(unittest.TestCase): def testAddsToNewContext(self) -> None: ... def testDeletes(self) -> None: ... def testDeleteRunsBeforeAdd(self) -> None: ... def testPerfectAddRejectsExistingStmt(self) -> None: ... def testPerfectAddAllowsExistingStmtInNewContext(self) -> None: ... def testPerfectDeleteRejectsAbsentStmt(self) -> None: ... def testPerfectDeleteRejectsStmtFromOtherGraph(self) -> None: ... def testPerfectDeleteAllowsRemovalOfStmtInMultipleContexts(self) -> None: ... def testRedundantStmtOkForAddOrDelete(self) -> None: ...