def get_class_name(class_key, classification_key):
    """Helper to get class name from a class_key of a classification.

    :param class_key: The key of the class.
    :type class_key: str

    :type classification_key: The key of a classification.
    :param classification_key: str

    :returns: The name of the class.
    :rtype: str
    """
    classification = definition(classification_key)
    for the_class in classification['classes']:
        if the_class.get('key') == class_key:
            return the_class.get('name', class_key)
    return class_key
Helper to get class name from a class_key of a classification.

    :param class_key: The key of the class.
    :type class_key: str

    :type classification_key: The key of a classification.
    :param classification_key: str

    :returns: The name of the class.
    :rtype: str