#NEWLINE# @ log . log_method_call #NEWLINE# def update_policy_action( self , context , id , policy_action ) : #NEWLINE# #INDENT# session = context . session #NEWLINE# with session . begin ( subtransactions = True ) : #NEWLINE# #INDENT# original_policy_action = super ( GroupPolicyPlugin , self ) . get_policy_action ( context , id ) #NEWLINE# updated_policy_action = super ( GroupPolicyPlugin , self ) . update_policy_action ( context , id , policy_action ) #NEWLINE# self . extension_manager . process_update_policy_action ( session , policy_action , updated_policy_action ) #NEWLINE# self . _validate_shared_update ( self , updated_policy_action , original_policy_action , updated_policy_action , 'policy_action' ) #NEWLINE# self . _validate_action_value ( context , updated_policy_action ) #NEWLINE# policy_context = p_context . PolicyActionContext ( self , context , updated_policy_action , original_policy_action = original_policy_action ) #NEWLINE# self . policy_driver_manager . update_policy_action_precommit ( policy_context ) #NEWLINE# #UNINDENT# self . policy_driver_manager . update_policy_action_postcommit ( policy_context ) #NEWLINE# return updated_policy_action