#NEWLINE# def update( self , project , taskid , obj = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , **kwargs ) : #NEWLINE# #INDENT# self . _changed = True #NEWLINE# obj = dict ( obj ) #NEWLINE# obj . update ( kwargs ) #NEWLINE# obj [ 'updatetime' ] = time . time ( ) #NEWLINE# return self . es . update ( index = self . index , doc_type = project . __type__ , id = ( '%s:%s' % ( project , taskid ) ) , body = { #NEWLINE# #INDENT# 'doc' : self . _stringify ( obj ) , #NEWLINE# #UNINDENT# } , ignore = 404 )