code: def parse_version(version: Sequence[str | int]) -> tuple[int, ...]:
      """Simple version parser; split into a tuple of ints for comparison."""
      if isinstance(version, str):
          version = version.split(".")
      return tuple(int(re.sub(r"\D", "", str(v))) for v in version)
  
imports: from __future__ import annotations
  import inspect
  import os
  import re
  import sys
  import warnings
  from collections.abc import MappingView, Sized
  from enum import Enum
  from pathlib import Path
  from typing import TYPE_CHECKING, Any, Generator, Iterable, Literal, Sequence, TypeVar
  import polars
  from polars import functions
  from polars.datatypes import FLOAT_DTYPES, INTEGER_DTYPES, Boolean, Date, Datetime, Decimal, Duration, Int64, String, Time
  from polars.dependencies import _check_for_numpy
  from polars.dependencies import numpy
label_desc: Use image node_id 17 for calling a global function with example usage: parse_version(version) and returns: tuple