code: def __init__(self, res_obj, finalizer_func=ResourceRefAutoClean.noop):
      self._resource = res_obj
      self._finalizer_func = finalizer_func
      self._auto_clean = ResourceRefAutoClean(self)
  
imports: import os
  import uuid
  import pathlib
  import pytz
  from datetime import datetime
  from aim.ext.transport.config import AIM_SERVER_MOUNTED_REPO_PATH
  from aim.sdk import Repo
  from aim.sdk.reporter import RunStatusReporter, ScheduledStatusReporter
  from aim.sdk.reporter.file_manager import LocalFileManager
  from aim.ext.cleanup import AutoClean
label_desc: Use image node_id 1 to create a new ResourceRef object  with example: obj = ResourceRef(res_obj, finalizer_func)