if exists, if not use None as the second argument, return the result. call the function MigrationExecutor with connection and self.migration_progress_callback as arguments, substitute the result fro executor.
executor = MigrationExecutor ( connection , self . migration_progress_callback )