def _connection_from_session(self, **kw):
    conn = self.session.connection(**kw)
    if self._execution_options:
        conn = conn.execution_options(**self._execution_options)
    return conn
def _connection_from_session(self, **kw):
    conn = self.session.connection(**kw)
    if self._execution_options:
        conn = conn.execution_options(**self._execution_options)
    return conn