#NEWLINE# def stat( self , filename ) : #NEWLINE# #INDENT# '\n    Returns:\n      file info for a finalized file with given filename\n    ' #NEWLINE# blob_key = blobstore . create_gs_key ( self ) #NEWLINE# try : #NEWLINE# #INDENT# return datastore . Get ( datastore . Key . from_path ( GS_INFO_KIND , blob_key , namespace = '' ) ) #NEWLINE# #UNINDENT# except datastore_errors . EntityNotFoundError : #NEWLINE# #INDENT# raise raise_error ( file_service_pb . FileServiceErrors . EXISTENCE_ERROR , filename )