comparison service/collector/stubs/rdflib/parser.pyi @ 1251:b3813f6399a9

add some rdflib stubs Ignore-this: 20804bfeadf49741c27cb48d12e29b6b darcs-hash:e368bae80a03c5546c938833efc69a9b9f2e8c5b
author drewp <drewp@bigasterisk.com>
date Thu, 18 Apr 2019 21:59:47 -0700
parents
children
comparison
equal deleted inserted replaced
1250:81ab17e377b7 1251:b3813f6399a9
1 # Stubs for rdflib.parser (Python 3.4)
2 #
3 # NOTE: This dynamically typed stub was automatically generated by stubgen.
4
5 from typing import Any
6 from io import StringIO as BytesIO
7
8 class Parser:
9 def __init__(self): ...
10 def parse(self, source, sink): ...
11
12 class InputSource: # subclass of xmlreader
13 ...
14
15
16 class StringInputSource(InputSource):
17 def __init__(self, value, system_id=None): ...
18
19 class URLInputSource(InputSource):
20 url = ... # type: Any
21 content_type = ... # type: Any
22 def __init__(self, system_id=None, format=None): ...
23
24 class FileInputSource(InputSource):
25 file = ... # type: Any
26 def __init__(self, file): ...