code: def namespace(self, value):
          
          if not isinstance(value, str):
              raise ValueError("Namespace must be a string")
          self._namespace = value
docs: Update the query's namespace.
  
          :type value: str