code: def test_validation_missing_parent() -> None:
      xp = hip.Experiment(
          datapoints=[hip.Datapoint(uid="1", from_uid="2", values={})]
      )
      with pytest.raises(hip.ExperimentValidationMissingParent):
          xp.validate()
      xp.remove_missing_parents()
      assert xp.datapoints[0].from_uid is None
      xp.validate()
  
imports: import tempfile
  import shutil
  from contextlib import contextmanager
  from unittest.mock import patch
  import typing
  import pytest
  import pandas
  import optuna
  import hiplot
label_desc: Use image node_id 10 for calling a global function with example usage: test_validation_missing_parent() without return types