#NEWLINE# @ log . log_method_call #NEWLINE# def update_policy_target_group( self , context , policy_target_group_id , policy_target_group ) : #NEWLINE# #INDENT# ptg = policy_target_group [ 'policy_target_group' ] #NEWLINE# with context . session . begin ( subtransactions = True ) : #NEWLINE# #INDENT# ptg_db = self . _get_policy_target_group ( context , context ) #NEWLINE# ptg = self . _process_policy_rule_sets_for_ptg ( context , ptg_db , ptg ) #NEWLINE# ptg_db . update ( ptg ) #NEWLINE# #UNINDENT# return self . _make_policy_target_group_dict ( ptg_db )