human
I wrote the below code

    def decorate(cls):
        kw['cls'] = cls
        kw['name'] = cls.__name__
        return declarative_base(**kw)
    return decorate

What's a good function header?
assistant
#Here's a good function header.

def as_declarative(**kw):