class_docstr: Builder for a Ray Client connection. This class can be subclassed by
  custom builder classes to modify connection behavior to include additional
  features or altered semantics. One example is the ``_LocalClientBuilder``.
docstr: Sets the namespace for the session.
  Args:
      namespace: Namespace to use.
docstr_tok: ["Sets","the","namespace","for","the","session",".","Args",":","namespace",":","Namespace","to","use","."]
code: def namespace(self, namespace: str) -> "ClientBuilder":
      """
      Sets the namespace for the session.
      Args:
          namespace: Namespace to use.
      """
      self._job_config.set_ray_namespace(namespace)
      return self
  
imports: import importlib
  import inspect
  import json
  import logging
  import os
  import sys
  import warnings
  from dataclasses import dataclass
  from typing import Any, Dict, Optional, Tuple
  import ray.util.client_connect
  from ray._private.ray_constants import RAY_ADDRESS_ENVIRONMENT_VARIABLE, RAY_NAMESPACE_ENVIRONMENT_VARIABLE, RAY_RUNTIME_ENV_ENVIRONMENT_VARIABLE
  from ray._private.utils import check_ray_client_dependencies_installed, split_address
  from ray._private.worker import BaseContext
  from ray._private.worker import init
  from ray.job_config import JobConfig
  from ray.util.annotations import Deprecated, PublicAPI
label_desc: Use image node_id 3 for calling the ClientBuilder obj's underlying member method code with example usage: obj.namespace(namespace) and returns: self