class_docstr: Dataset version MAJOR.MINOR.PATCH.
code: def _validate_operand(self, other):
      if isinstance(other, str):
          return Version(other)
      elif isinstance(other, Version):
          return other
      raise AssertionError(
          "{} (type {}) cannot be compared to version.".format(
              other, type(other)
          )
      )
  
imports: from __future__ import annotations
  import enum
  import re
  from typing import List, Tuple, Union
  from etils import epath
label_desc: Use image node_id 6 for calling the Version obj's underlying member method code with example usage: obj._validate_operand(other) and returns: Version, other