<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_execution_profile(self, name):
 """ Returns the execution profile associated with the provided ``name``. :param name: The name (or key) of the execution profile. """

        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()))