@classmethod
def get_metadata(cls):
    """
        _declared_class_registry might be safer...
        """
    for c in cls.__mro__:
        print('mro', c)
        if hasattr(c, 'metadata'):
            return c.metadata
