@classmethod
    def define(cls, design, name=None, language='python', wrapper=DEFAULT,
               **defaults):
        def view_wrapped(fun):
            return cls(design, fun, language=language, wrapper=wrapper,
                       **defaults)
        return view_wrapped
Factory method for use as a decorator (only suitable for Python
dataset/ETHPy150Open djc/couchdb-python/couchdb/mapping.py/ViewField.define