code: def report_progress(
      self, task_id: int, num_samples_completed: int
  ) -> None:
      self.num_samples_completed_per_task[
          task_id
      ] = num_samples_completed
  
file_path: ray/doc/source/ray-core/doc_code/monte_carlo_pi.py
imports: import ray
  import math
  import time
  import random
label_desc: Use image node_id 2 for calling the ProgressActor obj's underlying member method code with example usage: obj.report_progress(task_id, num_samples_completed) without return types