def METHOD_NAME(
    self, metadata: Metadata, results: List[List[WriteResult]]
) -> None:
    """
    Writes the metadata and marks the current checkpoint as successful.
    The actual format/schema used for serializing `metadata` is an
    implementation detail. The only requirement is that it's recoverable
    in to the same object graph.
    Args:
        metadata (Metadata): metadata for the new checkpoint
        results: A list of WriteResults from all ranks.
    Returns:
        None
    """
    pass