code: def _parse_version_str(version: str):
      m = re.fullmatch(MAJOR_MINOR_VERSION_RE, version)
      if not m:
          raise errors.InvalidVersionError(version)
      d = m.groupdict()
      return (d["major"], d["minor"] if d.get("minor") else None)
  
imports: import re
  import typing
  from modelkit.assets import errors
  from modelkit.assets.versioning import versioning
label_desc: Use image node_id 9 for calling the MajorMinorAssetsVersioningSystem obj's underlying member method code with example usage: obj._parse_version_str(version) and returns: d,  unknown