You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: household_list.rb
    path of file: ./repos/hitobito/app/domain/people
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

#  Copyright (c) 2012-2021, Die Mitte Schweiz. This file is part of
#  hitobito and licensed under the Affero General Public License version 3
#  or later. See the COPYING file at the top-level directory or at
#  https://github.com/hitobito/hitobito.

class People::HouseholdList
  include Enumerable

  de
    
  def fetch_involved_people(ids_or_household_keys)
    # Search for any number of housemates, regardless of preview limit
    base_scope = @people_scope.unscope(:limit)
    # Make sure to select household_key if we aren't selecting specific columns
    base_scope = base_scope.select(:household_key) if base_scope.select_values.present?

    base_scope.where(household_key: ids_or_household_keys).
      or(base_scope.where(id: ids_or_household_keys)).
      load
  end