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: stages_resolver.rb
    path of file: ./repos/gitlabhq/app/graphql/resolvers/analytics/cycle_analytics
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Resolvers
  module Analytics
    module CycleAnalytics
      class Stag
    
        def list_stages(list_service_params)
          ::Analytics::CycleAnalytics::Stages::ListService.new(
            parent: namespace,
            current_user: current_user,
            params: list_service_params
          ).execute[:stages]
        end