'Return a Query with a specific \'autoflush\' setting.
Note that a Session with autoflush=False will
not autoflush, even if this flag is set to True at the
Query level.  Therefore this flag is usually used only
to disable autoflush for a specific Query.'

@_generative()
def autoflush(self, setting):

    self._autoflush = setting
