Mercurial > code > home > repos > light9
annotate stubs/rdflib/parser.pyi @ 2129:7cfca7d35cdb
cue notes
author | drewp@bigasterisk.com |
---|---|
date | Sun, 05 Jun 2022 01:39:41 +0000 |
parents | 0f0ff27e55a3 |
children |
rev | line source |
---|---|
1863
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
1 # Stubs for rdflib.parser (Python 3.4) |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
2 # |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
3 # NOTE: This dynamically typed stub was automatically generated by stubgen. |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
4 |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
5 from typing import Any |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
6 from io import StringIO as BytesIO |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
7 |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
8 class Parser: |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 def __init__(self): ... |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
10 def parse(self, source, sink): ... |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
11 |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
12 class InputSource: # subclass of xmlreader |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
13 ... |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
14 |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
15 |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
16 class StringInputSource(InputSource): |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
17 def __init__(self, value, system_id=None): ... |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
18 |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
19 class URLInputSource(InputSource): |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
20 url = ... # type: Any |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
21 content_type = ... # type: Any |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
22 def __init__(self, system_id=None, format=None): ... |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
23 |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
24 class FileInputSource(InputSource): |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
25 file = ... # type: Any |
0f0ff27e55a3
stubs, mostly autogen or empty
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
26 def __init__(self, file): ... |