code: def spin(self):
      i = 0
      while not self.stop:
          print(self.frames[i % self.iterations], end="\r", flush=True)
          time.sleep(self.step_time)
          i += 1
  
file_path: upgini/src/upgini/spinner.py
imports: import threading
  from typing import Optional, List
  import time
label_desc: Use image node_id 5 for calling the Spinner obj's underlying member method code with example usage: obj.spin() without return types