code: def latest_version(beta: bool = False) -> str:
      if beta:
          latest_release = SyftRepo.beta_releases()[0]
      else:
          latest_release = SyftRepo.prod_releases()[0]
      return latest_release["tag_name"]
  
file_path: PySyft/packages/syftcli/syftcli/core/syft_repo.py
imports: from functools import lru_cache
  from pathlib import Path
  import shutil
  from typing import Any
  from typing import List
  import requests
  import yaml
label_desc: Use image node_id 4 for calling the SyftRepo obj's underlying member method code with example usage: obj.latest_version(beta) and returns: latest_release