def METHOD_NAME(self, scope, key, value):
    """
    Set the user tag for the current course and the current user for a given key
        scope: the current scope of the runtime
        key: the key that to the value to be set
        value: the value to set
    """
    if scope != user_course_tag_api.COURSE_SCOPE:
        raise ValueError(f"unexpected scope {scope}")
    return user_course_tag_api.set_course_tag(
        self._user,
        self._course_id, key, value
    )