code: def get_latest_version(candidates):
      return sorted(candidates, key=Version, reverse=True)[0]
  
file_path: mlflow/dev/update_ml_package_versions.py
imports: import json
  import re
  import urllib.request
  from pathlib import Path
  import yaml
  from packaging.version import Version
label_desc: Use image node_id 4 for calling a global function with example usage: get_latest_version(candidates) and returns: sorted