#NEWLINE# @ classmethod #NEWLINE# @ gen . coroutine #NEWLINE# def UpdateOperation( cls , client , act_dict , ph_dict ) : #NEWLINE# #INDENT# 'Updates photo metadata.' #NEWLINE# assert ( ph_dict [ 'user_id' ] == Operation . GetCurrent ( ) . user_id ) #NEWLINE# ( yield Photo . UpdatePhoto ( cls , act_dict = act_dict , ** ph_dict ) )