class_docstr: Class that manages dvc remotes.
  
  Args:
      repo (dvc.repo.Repo): repo instance that belongs to the repo that
          we are working on.
  
  Raises:
      config.ConfigError: thrown when config has invalid format.
class_docstr_tok: ["Class","that","manages","dvc","remotes",".","Args",":","repo","(","dvc.repo.Repo",")",":","repo","instance","that","belongs","to","the","repo","that","we","are","working","on",".","Raises",":","config.ConfigError",":","thrown","when","config","has","invalid","format","."]
code: def get_remote_odb(
      self,
      name: Optional[str] = None,
      command: str = "<command>",
      hash_name: str = "md5",
  ) -> "HashFileDB":
      from dvc.cachemgr import LEGACY_HASH_NAMES
  
      remote = self.get_remote(name=name, command=command)
      if remote.fs.version_aware or remote.worktree:
          raise RemoteConfigError(
              f"'{command}' is unsupported for cloud versioned remotes"
          )
      if hash_name in LEGACY_HASH_NAMES:
          return remote.legacy_odb
      return remote.odb
  
imports: from typing import TYPE_CHECKING, Iterable, Optional, Set, Tuple
  from dvc.config import NoRemoteError, RemoteConfigError
  from dvc.log import logger
  from dvc.utils.objects import cached_property
  from dvc_data.hashfile.db import get_index
  from dvc_data.hashfile.transfer import TransferResult
label_desc: Use image node_id 3 for calling the DataCloud obj's underlying member method code with example usage: obj.get_remote_odb(name, command, hash_name) and returns: remote, remote