@_generative()
def enable_assertions(self, value):
    'Control whether assertions are generated.\n\n        When set to False, the returned Query will\n        not assert its state before certain operations,\n        including that LIMIT/OFFSET has not been applied\n        when filter() is called, no criterion exists\n        when get() is called, and no "from_statement()"\n        exists when filter()/order_by()/group_by() etc.\n        is called.  This more permissive mode is used by\n        custom Query subclasses to specify criterion or\n        other modifiers outside of the usual usage patterns.\n\n        Care should be taken to ensure that the usage\n        pattern is even possible.  A statement applied\n        by from_statement() will override any criterion\n        set by filter() or order_by(), for example.\n\n        '
    self._enable_assertions = value
Control whether assertions are generated.

When set to False, the returned Query will
not assert its state before certain operations,
including that LIMIT/OFFSET has not been applied
when filter() is called, no criterion exists
when get() is called, and no "from_statement()"
exists when filter()/order_by()/group_by() etc.
is called.  This more permissive mode is used by
custom Query subclasses to specify criterion or
other modifiers outside of the usual usage patterns.

Care should be taken to ensure that the usage
pattern is even possible.  A statement applied
by from_statement() will override any criterion
set by filter() or order_by(), for example.
@_generative()
def enable_assertions(self, value):
    'Control whether assertions are generated.\n\n        When set to False, the returned Query will\n        not assert its state before certain operations,\n        including that LIMIT/OFFSET has not been applied\n        when filter() is called, no criterion exists\n        when get() is called, and no "from_statement()"\n        exists when filter()/order_by()/group_by() etc.\n        is called.  This more permissive mode is used by\n        custom Query subclasses to specify criterion or\n        other modifiers outside of the usual usage patterns.\n\n        Care should be taken to ensure that the usage\n        pattern is even possible.  A statement applied\n        by from_statement() will override any criterion\n        set by filter() or order_by(), for example.\n\n        '
    self._enable_assertions = value