code: def check_variable_splits_type(arg):
      if arg not in ("uniform", "quantile", "quantiles"):
          raise ValueError(
              "variable_splits_type has to be one of {'uniform', 'quantiles'}"
          )
      return arg
  
file_path: DALEX/python/dalex/dalex/predict_explanations/_ceteris_paribus/checks.py
imports: import warnings
  from copy import deepcopy
  import numpy
  import pandas
  from .None import utils
label_desc: Use image node_id 7 for calling a global function with example usage: check_variable_splits_type(arg) and returns: arg