code: def get_index_manager(cls, repo: Repo):
      mng = cls.index_manager_pool.get(repo.path, None)
      if mng is None:
          mng = RepoIndexManager(repo)
          cls.index_manager_pool[repo.path] = mng
      return mng
  
imports: import contextlib
  import time
  import datetime
  import pytz
  import logging
  import os
  from threading import Thread
  from pathlib import Path
  from typing import Iterable
  from aim.sdk.repo import Repo
  from aim.sdk.run_status_watcher import Event
  from aim.storage.locking import RefreshLock
label_desc: Use image node_id 1 for calling the RepoIndexManager obj's underlying member method code with example usage: obj.get_index_manager(cls, repo) and returns: mng