code: def _validate_version(datalab: Datalab) -> None:
      current_version = cleanlab.__version__  # type: ignore[attr-defined]
      datalab_version = datalab.cleanlab_version
      if current_version != datalab_version:
          warnings.warn(
              f"Saved Datalab was created using different version of cleanlab "
              f"({datalab_version}) than current version ({current_version}). "
              f"Things may be broken!"
          )
  
file_path: cleanlab/cleanlab/datalab/internal/serialize.py
imports: from __future__ import annotations
  import os
  import pickle
  import warnings
  from typing import TYPE_CHECKING, Optional
  import pandas
  import cleanlab
  from cleanlab.datalab.internal.data import Data
label_desc: Use image node_id 3 for calling the _Serializer obj's underlying member method code with example usage: obj._validate_version(datalab) without return types