Mercurial > code > home > repos > rdfdb
view stubs/rdflib/plugins/serializers/nt.pyi @ 47:9bd2a537caaa
huge speedup switching from cyclone.httpclient.fetch to treq. 300ms updates become 7ms. maybe it was looking up names or some slow network connect thing before, and now it's reusing a connection.
Ignore-this: 745f3d7116702d2dcc57d300631fa052
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Mon, 27 May 2019 08:54:23 +0000 |
parents | 4f71d2a7a8d1 |
children |
line wrap: on
line source
# 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