def METHOD_NAME(progress):
    """When an event of compilation completes, this function will be called, and
    will update the progress bar indication.
    Args:
        progress: Number of tasks completed
    """
    self.update(progress)