docstr: Prepare the `Run` for automatic cleanup.
  
  Args:
      instance: The `Run` instance to be cleaned up.
docstr_tok: ["Prepare","the","`","Run","`","for","automatic","cleanup",".","Args",":","instance",":","The","`","Run","`","instance","to","be","cleaned","up","."]
code: def __init__(self, instance: "MaintenanceRun") -> None:
      """
      Prepare the `Run` for automatic cleanup.
  
      Args:
          instance: The `Run` instance to be cleaned up.
      """
      super().__init__(instance)
  
      self._lock = instance._lock
  
file_path: aim/aim/sdk/maintenance_run.py
imports: import logging
  from typing import Union, Optional, TYPE_CHECKING
  from aim.sdk.base_run import BaseRun
  from aim.ext.cleanup import AutoClean
label_desc: Use image node_id 1 to create a new RunAutoClean object from inherited base classes: AutoClean with example: obj = RunAutoClean(instance)