code: def __init__(self):
      self.state = {"num_tasks_executed": 0}
  
file_path: ray/doc/source/ray-core/doc_code/actor_checkpointing.py
imports: import os
  import sys
  import ray
  import json
  import tempfile
  import shutil
label_desc: Use image node_id 1 to create a new Worker object  with example: obj = Worker()