class_docstr: TargetEncoder
code: def data_leakage_handling(self, data_leakage_handling):
      assert_is_type(
          data_leakage_handling,
          None,
          Enum("leave_one_out", "k_fold", "none"),
      )
      self._parms["data_leakage_handling"] = data_leakage_handling
  
imports: from h2o.utils.metaclass import deprecated_params, deprecated_property
  import h2o
  import warnings
  from h2o.exceptions import H2ODeprecationWarning
  from h2o.utils.typechecks import U
  from h2o.estimators.estimator_base import H2OEstimator
  from h2o.exceptions import H2OValueError
  from h2o.frame import H2OFrame
  from h2o.utils.typechecks import assert_is_type, Enum, numeric
label_desc: Use image node_id 21 for calling the H2OTargetEncoderEstimator obj's underlying member method code with example usage: obj.data_leakage_handling(data_leakage_handling) without return types