def set_timeout(self, visibility_timeout):
        """
        Set the visibility timeout for the queue.

        :type visibility_timeout: int
        :param visibility_timeout: The desired timeout in seconds
        """
        retval = self.set_attribute('VisibilityTimeout', visibility_timeout)
        if retval:
            self.visibility_timeout = visibility_timeout
        return retval
def set_timeout ( self , visibility_timeout ) : retval = self . set_attribute ( 'VisibilityTimeout' , visibility_timeout ) if retval : self . visibility_timeout = visibility_timeout return retval
Set the visibility timeout for the queue.

        :type visibility_timeout: int
        :param visibility_timeout: The desired timeout in seconds