python/replicate/experiment.py
def delete(self):
        """
        Delete this experiment and all associated checkpoints.
        """
        # We should consolidate delete logic, see https://github.com/replicate/replicate/issues/332
        # It's also slow https://github.com/replicate/replicate/issues/333
        repository = self._project._get_repository()
        console.info(
            "Deleting {} checkpoints in experiment {}".format(
                len(self.checkpoints), self.short_id()
            )
        )
        for checkpoint in self.checkpoints:
            repository.delete(checkpoint._repository_tar_path())
        console.info("Deleting experiment: {}".format(self.short_id()))
        repository.delete(self._heartbeat_path())
        repository.delete(self._repository_tar_path())
        repository.delete(self._metadata_path())

        Delete this experiment and all associated checkpoints.
        
Delete this experiment and all associated checkpoints.
Delete this experiment and all associated checkpoints .
def delete(self):
        repository = self._project._get_repository()
        console.info(
            "Deleting {} checkpoints in experiment {}".format(
                len(self.checkpoints), self.short_id()
            )
        )
        for checkpoint in self.checkpoints:
            repository.delete(checkpoint._repository_tar_path())
        console.info("Deleting experiment: {}".format(self.short_id()))
        repository.delete(self._heartbeat_path())
        repository.delete(self._repository_tar_path())
        repository.delete(self._metadata_path())
def delete ( self ) : repository = self . _project . _get_repository ( ) console . info ( "Deleting {} checkpoints in experiment {}" . format ( len ( self . checkpoints ) , self . short_id ( ) ) ) for checkpoint in self . checkpoints : repository . delete ( checkpoint . _repository_tar_path ( ) ) console . info ( "Deleting experiment: {}" . format ( self . short_id ( ) ) ) repository . delete ( self . _heartbeat_path ( ) ) repository . delete ( self . _repository_tar_path ( ) ) repository . delete ( self . _metadata_path ( ) )
Delete this experiment and all associated checkpoints.
Delete this experiment and all associated checkpoints .
"""
        Delete this experiment and all associated checkpoints.
        """ # We should consolidate delete logic, see https://github.com/replicate/replicate/issues/332 # It's also slow https://github.com/replicate/replicate/issues/333
self