Mercurial > code > home > repos > light9
comparison stubs/rdflib/plugins/serializers/turtle.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 | f1f426af34ed |
comparison
equal
deleted
inserted
replaced
1862:d92757c88817 | 1863:0f0ff27e55a3 |
---|---|
1 # Stubs for rdflib.plugins.serializers.turtle (Python 3) | |
2 # | |
3 # NOTE: This dynamically typed stub was automatically generated by stubgen. | |
4 | |
5 from rdflib.serializer import Serializer | |
6 from typing import Any, Optional | |
7 | |
8 class RecursiveSerializer(Serializer): | |
9 topClasses: Any = ... | |
10 predicateOrder: Any = ... | |
11 maxDepth: int = ... | |
12 indentString: str = ... | |
13 stream: Any = ... | |
14 def __init__(self, store: Any) -> None: ... | |
15 def addNamespace(self, prefix: Any, uri: Any) -> None: ... | |
16 def checkSubject(self, subject: Any): ... | |
17 def isDone(self, subject: Any): ... | |
18 def orderSubjects(self): ... | |
19 def preprocess(self) -> None: ... | |
20 def preprocessTriple(self, xxx_todo_changeme: Any) -> None: ... | |
21 depth: int = ... | |
22 lists: Any = ... | |
23 namespaces: Any = ... | |
24 def reset(self) -> None: ... | |
25 def buildPredicateHash(self, subject: Any): ... | |
26 def sortProperties(self, properties: Any): ... | |
27 def subjectDone(self, subject: Any) -> None: ... | |
28 def indent(self, modifier: int = ...): ... | |
29 def write(self, text: Any) -> None: ... | |
30 | |
31 class TurtleSerializer(RecursiveSerializer): | |
32 short_name: str = ... | |
33 indentString: str = ... | |
34 keywords: Any = ... | |
35 stream: Any = ... | |
36 def __init__(self, store: Any) -> None: ... | |
37 def addNamespace(self, prefix: Any, namespace: Any): ... | |
38 def reset(self) -> None: ... | |
39 base: Any = ... | |
40 def serialize(self, stream: Any, base: Optional[Any] = ..., encoding: Optional[Any] = ..., spacious: Optional[Any] = ..., **args: Any) -> None: ... | |
41 def preprocessTriple(self, triple: Any) -> None: ... | |
42 def getQName(self, uri: Any, gen_prefix: bool = ...): ... | |
43 def startDocument(self) -> None: ... | |
44 def endDocument(self) -> None: ... | |
45 def statement(self, subject: Any): ... | |
46 def s_default(self, subject: Any): ... | |
47 def s_squared(self, subject: Any): ... | |
48 def path(self, node: Any, position: Any, newline: bool = ...) -> None: ... | |
49 def p_default(self, node: Any, position: Any, newline: bool = ...): ... | |
50 def label(self, node: Any, position: Any): ... | |
51 def p_squared(self, node: Any, position: Any, newline: bool = ...): ... | |
52 def isValidList(self, l: Any): ... | |
53 def doList(self, l: Any) -> None: ... | |
54 def predicateList(self, subject: Any, newline: bool = ...) -> None: ... | |
55 def verb(self, node: Any, newline: bool = ...) -> None: ... | |
56 def objectList(self, objects: Any) -> None: ... | |
57 | |
58 OBJECT: Any |