class_docstr: Handler that saves input checkpoint as ClearML artifacts
  
  Args:
      logger: An instance of :class:`~ignite.contrib.handlers.clearml_logger.ClearMLLogger`,
          ensuring a valid ClearML ``Task`` has been initialized. If not provided, and a ClearML Task
          has not been manually initialized, a runtime error will be raised.
      output_uri: The default location for output models and other artifacts uploaded by ClearML. For
          more information, see ``clearml.Task.init``.
      dirname: Directory path where the checkpoint will be saved. If not provided, a temporary
          directory will be created.
  
  Examples:
      .. code-block:: python
  
          from ignite.contrib.handlers.clearml_logger import *
          from ignite.handlers import Checkpoint
  
          clearml_logger = ClearMLLogger(
              project_name="pytorch-ignite-integration",
              task_name="cnn-mnist"
          )
  
          to_save = {"model": model}
  
          handler = Checkpoint(
              to_save,
              ClearMLSaver(),
              n_saved=1,
              score_function=lambda e: 123,
              score_name="acc",
              filename_prefix="best",
              global_step_transform=global_step_from_engine(trainer)
          )
  
          validation_evaluator.add_event_handler(Events.EVENT_COMPLETED, handler)
class_docstr_tok: ["Handler","that","saves","input","checkpoint","as","ClearML","artifacts","Args",":","logger",":","An","instance","of",":","class",":","`","~ignite.contrib.handlers.clearml_logger.ClearMLLogger","`",",","ensuring","a","valid","ClearML","``","Task","``","has","been","initialized",".","If","not","provided",",","and","a","ClearML","Task","has","not","been","manually","initialized",",","a","runtime","error","will","be","raised",".","output_uri",":","The","default","location","for","output","models","and","other","artifacts","uploaded","by","ClearML",".","For","more","information",",","see","``","clearml.Task.init","``",".","dirname",":","Directory","path","where","the","checkpoint","will","be","saved",".","If","not","provided",",","a","temporary","directory","will","be","created",".","Examples",":","..","code-block",":",":","python","from","ignite.contrib.handlers.clearml_logger","import","*","from","ignite.handlers","import","Checkpoint","clearml_logger","=","ClearMLLogger","(","project_name=","''","pytorch-ignite-integration","''",",","task_name=","''","cnn-mnist","''",")","to_save","=","{","``","model","''",":","model","}","handler","=","Checkpoint","(","to_save",",","ClearMLSaver","(",")",",","n_saved=1",",","score_function=lambda","e",":","123",",","score_name=","''","acc","''",",","filename_prefix=","''","best","''",",","global_step_transform=global_step_from_engine","(","trainer",")",")","validation_evaluator.add_event_handler","(","Events.EVENT_COMPLETED",",","handler",")"]
code: def remove(self, filename: str) -> None:
      super(ClearMLSaver, self).remove(filename)
      for slots in self._checkpoint_slots.values():
          try:
              slots[slots.index(filename)] = None
          except ValueError:
              pass
          else:
              break
  
imports: import os
  import tempfile
  import warnings
  from collections import defaultdict
  from datetime import datetime
  from enum import Enum
  from typing import Any, Callable, DefaultDict, List, Mapping, Optional, Tuple, Type, Union
  from torch.optim import Optimizer
  import ignite.distributed
  from ignite.contrib.handlers.base_logger import BaseLogger, BaseOptimizerParamsHandler, BaseOutputHandler, BaseWeightsHandler, BaseWeightsScalarHandler
  from ignite.engine import Engine, Events
  from ignite.handlers import global_step_from_engine
  from ignite.handlers.checkpoint import DiskSaver
label_desc: Use image node_id 5 for calling the ClearMLSaver obj's underlying member method code with example usage: obj.remove(filename) without return types