something like
First your model to store the PDF in
class PDFStore(ndb.Model):
content = ndb.BlobProperty()
The create an instance of that model, put the data into it the save it.
def doSomethingWithResult(result):
PDF = result.content
blobstore_data = PDFStore()
blobstore_data.content = PDF
blobstore_data.put()
It's exactly as in the first link you put up: Open a file from urlfetch in GAE