#NEWLINE# def getEncodableAttributes( self , obj , codec = None ) : #NEWLINE# #INDENT# '\n        Returns a dict of kay/value pairs for PyAMF to encode.\n        ' #NEWLINE# attrs = { #NEWLINE# #INDENT# 'content_type' : obj . content_type , #NEWLINE# 'filename' : obj . filename , #NEWLINE# 'size' : obj . size , #NEWLINE# 'creation' : obj . creation , #NEWLINE# 'key' : str ( obj . key ( ) ) , #NEWLINE# #UNINDENT# } #NEWLINE# return attrs