Mercurial > code > home > repos > rdfdb
diff stubs/rdflib/plugins/serializers/nt.pyi @ 33:4f71d2a7a8d1
some low-quality mostly generated mypy stubs. should be shared with my other builds
Ignore-this: 99c013ca3860da8917b3ca52c24308fc
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 25 May 2019 02:53:14 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stubs/rdflib/plugins/serializers/nt.pyi Sat May 25 02:53:14 2019 +0000 @@ -0,0 +1,16 @@ +# Stubs for rdflib.plugins.serializers.nt (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rdflib.serializer import Serializer +from typing import Any, Optional + +class NTSerializer(Serializer): + encoding: str = ... + def __init__(self, store: Any) -> None: ... + def serialize(self, stream: Any, base: Optional[Any] = ..., encoding: Optional[Any] = ..., **args: Any) -> None: ... + +class NT11Serializer(NTSerializer): + def __init__(self, store: Any) -> None: ... + +_quoteLiteral: Any