<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def replace(self, space, t, *, timeout=-1.0) -> _MethodRet: """ Replace request coroutine. Same as insert, but replace. :param space: space id or space name. :param t: tuple to insert (list object) :param timeout: Request timeout :returns: :class:`asynctnt.Response` instance """

        return self._db.replace(space, t, timeout=timeout)