def __init__(self, test_statement):
    self.test_statement = test_statement
    self._annotations = {}
    self.supports_execution = getattr(test_statement, 'supports_execution', False)
    if self.supports_execution:
        self._execution_options = test_statement._execution_options
        if isinstance(test_statement, (sql.Insert, sql.Update, sql.Delete)):
            self._returning = test_statement._returning
        if isinstance(test_statement, (sql.Insert, sql.Update)):
            self._inline = test_statement._inline
            self._return_defaults = test_statement._return_defaults
def __init__(self, test_statement):
    self.test_statement = test_statement
    self._annotations = {}
    self.supports_execution = getattr(test_statement, 'supports_execution', False)
    if self.supports_execution:
        self._execution_options = test_statement._execution_options
        if isinstance(test_statement, (sql.Insert, sql.Update, sql.Delete)):
            self._returning = test_statement._returning
        if isinstance(test_statement, (sql.Insert, sql.Update)):
            self._inline = test_statement._inline
            self._return_defaults = test_statement._return_defaults