code: def get_execution_profile(self, name):
          
          profiles = self.cluster.profile_manager.profiles
          try:
              return profiles[name]
          except KeyError:
              raise ValueError("Invalid execution_profile: '%s'; valid profiles are %s" % (name, profiles.keys()))
docs: Returns the execution profile associated with the provided ``name``.
  
          :param name: The name (or key) of the execution profile.