code: def __init__(self, global_var_actor):
      self.global_var_actor = global_var_actor
  
file_path: ray/doc/source/ray-core/doc_code/anti_pattern_global_variables.py
imports: import ray
label_desc: Use image node_id 1 to create a new Actor object  with example: obj = Actor(global_var_actor)