code: def add_callback(self, callback=None, errorback=None):
          
          self._callback = callback
          self._errorback = errorback
docs: Adds a callback that will be called when the upload
          finishes successfully or when error is raised.