def subclass(cls):
    for name, method in cls.__dict__.iteritems():
        if hasattr(method, 'override'):
            found = False
            for base_class in inspect.getmro(cls)[1:]:
                if name in base_class.__dict__:
                    if not method.__doc__:
                        # copy docstring
                        method.__doc__ = base_class.__dict__[name].__doc__
                    found = True
                    break
            assert found, '"%s.%s" not found in any base class' % (cls.__name__, name)
    return cls
Gets the contents of an unknown field.
dataset/ETHPy150Open NVIDIA/DIGITS/digits/utils/__init__.py/subclass--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_GetUnknownField