#NEWLINE# def _set_providers_or_consumers_for_ep( self , context , ep_db , policy_rule_sets_dict , provider = True ) : #NEWLINE# #INDENT# assoc_table = ( EPToPRSProvidingAssociation if provider else EPToPRSConsumingAssociation ) #NEWLINE# self . _set_providers_or_consumers_for_res ( context , 'external_policy' , ep_db , policy_rule_sets_dict , assoc_table , provider = provider )