@util.decorator
def _generative(fn, *args, **kw):

    self = args[0]._generate()
    fn(self, *args[1:], **kw)
    return self
Mark a method as generative.
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/sql/base.py/_generative