code: def timeout(self, timeout):
          
          clone = copy.deepcopy(self)
          clone._timeout = timeout
          return clone
docs: :param timeout: Timeout for the query (in seconds)
          :type timeout: float or None