s3transfer/futures.py
def add_failure_cleanup(self, function, *args, **kwargs):
        """Adds a callback to call upon failure"""
        with self._failure_cleanups_lock:
            self._failure_cleanups.append(
                FunctionContainer(function, *args, **kwargs))
def add_failure_cleanup(self, function, *args, **kwargs):
        with self._failure_cleanups_lock:
            self._failure_cleanups.append(
                FunctionContainer(function, *args, **kwargs))
def add_failure_cleanup ( self , function , * args , * * kwargs ) : with self . _failure_cleanups_lock : self . _failure_cleanups . append ( FunctionContainer ( function , * args , * * kwargs ) )
Adds a callback to call upon failure
Adds a callback to call upon failure