code: def _resolve(self, version: str) -> Version:
      if version == "latest":
          version = SyftRepo.latest_version()
      if version == "latest-beta":
          version = SyftRepo.latest_version(beta=True)
  
      return Version(version)
  
file_path: PySyft/packages/syftcli/syftcli/core/syft_version.py
imports: from functools import cached_property
  from packaging.specifiers import SpecifierSet
  from packaging.specifiers import Version
  from packaging.version import InvalidVersion
  from .syft_repo import SyftRepo
label_desc: Use image node_id 7 for calling the SyftVersion obj's underlying member method code with example usage: obj._resolve(version) and returns: Version