Mercurial > code > home > repos > patchablegraph
diff patchablegraph.py @ 9:1b6718a54c00
add a workaround for a str/bytes bug in cyclone SSE
author | drewp@bigasterisk.com |
---|---|
date | Wed, 24 Nov 2021 19:54:20 -0800 |
parents | dc4f852d0d70 |
children | 388a5e15d249 |
line wrap: on
line diff
--- a/patchablegraph.py Wed Nov 24 19:48:44 2021 -0800 +++ b/patchablegraph.py Wed Nov 24 19:54:20 2021 -0800 @@ -37,7 +37,9 @@ from rdflib.namespace import NamespaceManager from rdflib.parser import StringInputSource from rdflib.plugins.serializers.jsonld import from_rdf +import patch_cyclone +patch_cyclone.patch_sse() log = logging.getLogger('patchablegraph') SERIALIZE_CALLS = Summary('serialize_calls', 'PatchableGraph.serialize calls')