code: def _version_str_to_list(version: str) -> List[int]:
      """convert a version string to a list of ints
  
      non-int segments are excluded
      """
      v = []
      for part in version.split("."):
          try:
              v.append(int(part))
          except ValueError:
              pass
      return v
  
imports: import json
  import re
  from typing import Any, Dict, List, Tuple
  from ._version import protocol_version_info
label_desc: Use image node_id 3 for calling a global function with example usage: _version_str_to_list(version) and returns: v