code: def get_latest_partial_version(
      cls, version: str, versions: typing.List[str]
  ) -> str:
      major_version, _ = cls._parse_version_str(version)
      if major_version:
          return cls.filter_versions(versions, major=major_version)[0]
      else:
          return versions[0]
  
imports: import re
  import typing
  from modelkit.assets import errors
  from modelkit.assets.versioning import versioning
label_desc: Use image node_id 6 for calling the MajorMinorAssetsVersioningSystem obj's underlying member method code with example usage: obj.get_latest_partial_version(cls, version, versions) and returns: cls, versions