code: def cleanup_spacy_config(trainer: ArgillaTrainer) -> None:
      for split in ["train", "dev"]:
          path = trainer._trainer.trainer_kwargs["paths"][split]
          if path is not None and Path(path).exists():
              os.remove(path)
  
imports: import os
  import shutil
  from pathlib import Path
  from argilla.training import ArgillaTrainer
label_desc: Use image node_id 2 for calling a global function with example usage: cleanup_spacy_config(trainer) without return types