loadit/client.py
def restore(self, batch_name):
        """
        Restore database to a previous batch. This operation is not reversible.

        Parameters
        ----------
        batch_name : str
            Batch name.
        """
        restore_points = [batch[0] for batch in self.header.batches]

        if batch_name not in restore_points or batch_name == restore_points[-1]:
            raise ValueError(f"'{batch_name}' is not a valid restore point")

        self._request(request_type='restore_database', batch=batch_name)

        Restore database to a previous batch. This operation is not reversible.

        Parameters
        ----------
        batch_name : str
            Batch name.
        
Restore database to a previous batch. This operation is not reversible.
Parameters

batch_name : str
Batch name.
Restore database to a previous batch . This operation is not reversible . Parameters batch_name : str Batch name .
def restore(self, batch_name):
        restore_points = [batch[0] for batch in self.header.batches]
        if batch_name not in restore_points or batch_name == restore_points[-1]:
            raise ValueError(f"'{batch_name}' is not a valid restore point")
        self._request(request_type='restore_database', batch=batch_name)
def restore ( self , batch_name ) : restore_points = [ batch [ 0 ] for batch in self . header . batches ] if batch_name not in restore_points or batch_name == restore_points [ - 1 ] : raise ValueError ( f"'{batch_name}' is not a valid restore point" ) self . _request ( request_type = 'restore_database' , batch = batch_name )
Restore database to a previous batch.
Restore database to a previous batch .
"""
        Restore database to a previous batch. This operation is not reversible.

        Parameters
        ----------
        batch_name : str
            Batch name.
        """
self
batch_name