code: def __init__(self, *args, interval=None, **kwargs):
      super().__init__(*args, interval=interval, **kwargs)
      self._target = 0
      self._log = []
  
file_path: distributed/distributed/deploy/tests/test_adaptive_core.py
imports: from __future__ import annotations
  import asyncio
  from distributed.deploy.adaptive_core import AdaptiveCore
  from distributed.metrics import time
  from distributed.utils_test import captured_logger, gen_test
label_desc: Use image node_id 1 to create a new MyAdaptive object from inherited base classes: AdaptiveCore with example: obj = MyAdaptive()