#NEWLINE# def __init__( self , table , hash_key = None , range_key = None , attrs = None ) : #NEWLINE# #INDENT# self . table = table #NEWLINE# self . _hash_key_name = self . table . schema . hash_key_name #NEWLINE# self . _range_key_name = self . table . schema . range_key_name #NEWLINE# if hash_key : #NEWLINE# #INDENT# self [ self . _hash_key_name ] = hash_key #NEWLINE# #UNINDENT# if range_key : #NEWLINE# #INDENT# self [ self . _range_key_name ] = range_key #NEWLINE# #UNINDENT# if attrs : #NEWLINE# #INDENT# self . update ( attrs ) #NEWLINE# #UNINDENT# self . consumed_units = 0 #NEWLINE# self . _updates = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# }