Mercurial > code > home > repos > homeauto
view 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 |
line wrap: on
line source
# Stubs for rdflib.parser (Python 3.4) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any from io import StringIO as BytesIO class Parser: def __init__(self): ... def parse(self, source, sink): ... class InputSource: # subclass of xmlreader ... class StringInputSource(InputSource): def __init__(self, value, system_id=None): ... class URLInputSource(InputSource): url = ... # type: Any content_type = ... # type: Any def __init__(self, system_id=None, format=None): ... class FileInputSource(InputSource): file = ... # type: Any def __init__(self, file): ...