@classmethod
def get_fault(cls, session, extension=''):
    """
        Gets the fault that is pending for this class.  Faults are
        returned in the form of objects.  Objects that have been deleted
        are marked as such.

        :param session:  the instance of Session used for APIC communication
        """
    urls = cls._get_subscription_urls(extension)
    for url in urls:
        if not session.has_events(url):
            continue
        event = session.get_event(url)
        for class_name in cls._get_apic_classes():
            if class_name in event['imdata'][0]:
                break
        attributes = event['imdata'][0]
        return attributes
