async def peek(self, task_id):
        """
            Get task without changing its state

            :param task_id: Task id
            :return: Task instance
        """

        args = (task_id,)
        res = await self.conn.call(self.__funcs['peek'], args)
        return self._create_task(res.body)
async def peek ( self , task_id ) : args = ( task_id , ) res = await self . conn . call ( self . __funcs [ 'peek' ] , args ) return self . _create_task ( res . body )
Get task without changing its state

            :param task_id: Task id
            :return: Task instance