'Internal helper: figures out max_entity_groups_per_rpc for the config.'

def __get_max_entity_groups_per_rpc(self, config):

    return (Configuration.max_entity_groups_per_rpc(config, self.__config) or self.DEFAULT_MAX_ENTITY_GROUPS_PER_RPC)
