def get_annotation_class_metadata(project, annotation_class_name):
    'Returns annotation class metadata\n\n    :param project: project name or metadata of the project\n    :type project: str or dict\n    :param annotation_class_name: annotation class name\n    :type annotation_class_name: str\n\n    :return: metadata of annotation class\n    :rtype: dict\n    '
    annotation_classes = search_annotation_classes(project, annotation_class_name, return_metadata=True)
    results = []
    for annotation_class in annotation_classes:
        if (annotation_class['name'] == annotation_class_name):
            results.append(annotation_class)
    if (len(results) > 1):
        raise SAExistingAnnotationClassNameException(0, (('Annotation class name ' + annotation_class_name) + ' is not unique. To use SDK please make annotation class names unique.'))
    elif (len(results) == 1):
        return results[0]
    else:
        raise SANonExistingAnnotationClassNameException(0, (('Annotation class with name ' + annotation_class_name) + " doesn't exist."))
Returns annotation class metadata

:param project: project name or metadata of the project
:type project: str or dict
:param annotation_class_name: annotation class name
:type annotation_class_name: str

:return: metadata of annotation class
:rtype: dict
def get_annotation_class_metadata(project, annotation_class_name):
    'Returns annotation class metadata\n\n    :param project: project name or metadata of the project\n    :type project: str or dict\n    :param annotation_class_name: annotation class name\n    :type annotation_class_name: str\n\n    :return: metadata of annotation class\n    :rtype: dict\n    '
    annotation_classes = search_annotation_classes(project, annotation_class_name, return_metadata=True)
    results = []
    for annotation_class in annotation_classes:
        if (annotation_class['name'] == annotation_class_name):
            results.append(annotation_class)
    if (len(results) > 1):
        raise SAExistingAnnotationClassNameException(0, (('Annotation class name ' + annotation_class_name) + ' is not unique. To use SDK please make annotation class names unique.'))
    elif (len(results) == 1):
        return results[0]
    else:
        raise SANonExistingAnnotationClassNameException(0, (('Annotation class with name ' + annotation_class_name) + " doesn't exist."))