We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See: http://groups.google.com/group/akara/browse_thread/thread/61c3dfdee4e9301b
An example template that causes the problem (with a sequence of very large files) is below. It uses pushtree to stream elements to structwriter
def main(..etc..): ..snip.. w = structwriter(indent=u"yes",stream=someStream) feed = w.cofeed( ROOT( E_CURSOR( (RDF.RDFNS, u'rdf:RDF')))) handler = Handle(feed,..etc..) @coroutine def receive_nodes(..etc..): while True: node = yield handler.handle(node..,..etc..) return target = receive_nodes(..etc..) pushtree(doc, u'MedlineCitation', target.send, entity_factory=entity_base) handler.feed.close() target.close() return someStream.getvalue()
The text was updated successfully, but these errors were encountered:
uogbuji
No branches or pull requests
See: http://groups.google.com/group/akara/browse_thread/thread/61c3dfdee4e9301b
An example template that causes the problem (with a sequence of very large files) is below. It uses pushtree to stream elements to structwriter
def main(..etc..):
..snip..
w = structwriter(indent=u"yes",stream=someStream)
feed = w.cofeed(
ROOT(
E_CURSOR(
(RDF.RDFNS, u'rdf:RDF'))))
handler = Handle(feed,..etc..)
@coroutine
def receive_nodes(..etc..):
while True:
node = yield
handler.handle(node..,..etc..)
return
target = receive_nodes(..etc..)
pushtree(doc, u'MedlineCitation', target.send,
entity_factory=entity_base)
handler.feed.close()
target.close()
return someStream.getvalue()
The text was updated successfully, but these errors were encountered: