@classmethod
    def get_for_source(cls, source):
        try:
            return cls._registry[source]
        except KeyError:
            try:
                return cls._registry[source.model]
            except AttributeError:
                try:
                    return cls._registry[source.__class__]
                except __HOLE__:
                    return ()
        except TypeError:
            # unhashable type: list
            return ()
dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/navigation/classes.py/SourceColumn.get_for_source