@tasklets.tasklet<EOL>def fetch_data_async(blob, start_index, end_index, **options):
if isinstance(blob, BlobInfo):<EOL><INDENT>blob = blob.key()<EOL><DEDENT>rpc = blobstore.create_rpc(**options)<EOL>rpc = blobstore.fetch_data_async(blob, start_index, end_index, rpc=rpc)<EOL>result = yield rpc<EOL>raise tasklets.Return(result)<EOL>
Async version of fetch_data().