#NEWLINE# @ log . log_method_call #NEWLINE# def update_policy_rule_set( self , context , id , policy_rule_set ) : #NEWLINE# #INDENT# session = context . session #NEWLINE# with session . begin ( subtransactions = True ) : #NEWLINE# #INDENT# original_policy_rule_set = super ( GroupPolicyPlugin , self ) . get_policy_rule_set ( context , id ) #NEWLINE# updated_policy_rule_set = super ( GroupPolicyPlugin , self ) . update_policy_rule_set ( context , id , policy_rule_set ) #NEWLINE# self . extension_manager . process_update_policy_rule_set ( session , policy_rule_set , updated_policy_rule_set ) #NEWLINE# self . _validate_shared_update ( self , context , original_policy_rule_set , updated_policy_rule_set , 'policy_rule_set' ) #NEWLINE# policy_context = p_context . PolicyRuleSetContext ( self , context , updated_policy_rule_set , original_policy_rule_set = original_policy_rule_set ) #NEWLINE# self . policy_driver_manager . update_policy_rule_set_precommit ( policy_context ) #NEWLINE# #UNINDENT# self . policy_driver_manager . update_policy_rule_set_postcommit ( policy_context ) #NEWLINE# return updated_policy_rule_set