#NEWLINE# def _set_providers_or_consumers_for_policy_target_group( self , context , ptg_db , policy_rule_sets_dict , provider = True ) : #NEWLINE# #INDENT# assoc_table = ( PTGToPRSProvidingAssociation if provider else PTGToPRSConsumingAssociation ) #NEWLINE# self . _set_providers_or_consumers_for_res ( context , 'policy_target_group' , ptg_db , policy_rule_sets_dict , assoc_table , provider = provider )