code: def get_session():
      raise DeprecationWarning
  
file_path: ray/python/ray/tune/trainable/session.py
imports: import logging
  from contextlib import contextmanager
  from typing import Dict, Optional, Set
  import ray
  from ray.tune.error import TuneError
  from ray.util.annotations import Deprecated
  from ray.util.placement_group import _valid_resource_shape
  from ray.util.scheduling_strategies import PlacementGroupSchedulingStrategy, SchedulingStrategyT
label_desc: Use image node_id 1 for calling a global function with example usage: get_session() without return types