#NEWLINE# def _send_file_internal( self , * args , **kwargs ) : #NEWLINE# #INDENT# 'Called internally for any type of upload. After upload finishes,\n        make sure the key is in the bucket set and save the metadata.\n        ' #NEWLINE# super ( Key , self ) . _send_file_internal ( * args , ** kwargs ) #NEWLINE# mimicdb . backend . sadd ( ( tpl . bucket % self . bucket . name ) , self . name ) #NEWLINE# mimicdb . backend . hmset ( ( tpl . key % ( self . bucket . name , self . name ) ) , dict ( size = self . size , md5 = self . md5 ) )