def _post_query_settings(self, opts, access_list):
    if all(((v is None) for v in [opts.pipeline_batch, opts.pipeline_cap, opts.scan_cap, opts.timeout, opts.prepared_limit, opts.completed_limit, opts.completed_threshold, opts.log_level, opts.max_parallelism, opts.n1ql_feature_control, opts.temp_dir, opts.temp_dir_size, opts.cost_based_optimizer, opts.memory_quota, opts.transaction_timeout])):
        if access_list:
            return
        _exit_if_errors(['Please provide at least one other option with --set'])
    (_, err) = self.rest.post_query_settings(opts.pipeline_batch, opts.pipeline_cap, opts.scan_cap, opts.timeout, opts.prepared_limit, opts.completed_limit, opts.completed_threshold, opts.log_level, opts.max_parallelism, opts.n1ql_feature_control, opts.temp_dir, opts.temp_dir_size, opts.cost_based_optimizer, opts.memory_quota, opts.transaction_timeout)
    _exit_if_errors(err)
def _post_query_settings(self, opts, access_list):
    if all(((v is None) for v in [opts.pipeline_batch, opts.pipeline_cap, opts.scan_cap, opts.timeout, opts.prepared_limit, opts.completed_limit, opts.completed_threshold, opts.log_level, opts.max_parallelism, opts.n1ql_feature_control, opts.temp_dir, opts.temp_dir_size, opts.cost_based_optimizer, opts.memory_quota, opts.transaction_timeout])):
        if access_list:
            return
        _exit_if_errors(['Please provide at least one other option with --set'])
    (_, err) = self.rest.post_query_settings(opts.pipeline_batch, opts.pipeline_cap, opts.scan_cap, opts.timeout, opts.prepared_limit, opts.completed_limit, opts.completed_threshold, opts.log_level, opts.max_parallelism, opts.n1ql_feature_control, opts.temp_dir, opts.temp_dir_size, opts.cost_based_optimizer, opts.memory_quota, opts.transaction_timeout)
    _exit_if_errors(err)