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: Set an environment for the session.
  Args:
      env (Dict[st, Any]): A runtime environment to use for this
      connection. See :ref:`runtime-environments` for what values are
      accepted in this dict.
docstr_tok: ["Set","an","environment","for","the","session",".","Args",":","env","(","Dict","[","st",",","Any","]",")",":","A","runtime","environment","to","use","for","this","connection",".","See",":","ref",":","`","runtime-environments","`","for","what","values","are","accepted","in","this","dict","."]
code: def env(self, env: Dict[str, Any]) -> "ClientBuilder":
      """
      Set an environment for the session.
      Args:
          env (Dict[st, Any]): A runtime environment to use for this
          connection. See :ref:`runtime-environments` for what values are
          accepted in this dict.
      """
      self._job_config.set_runtime_env(env)
      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 2 for calling the ClientBuilder obj's underlying member method code with example usage: obj.env(env) and returns: self