autodetector is an instance of the MigrationAutodetector class, created with 3 arguments: result of the method loader.project_state,
autodetector = MigrationAutodetector ( loader . project_state ( ) , ProjectState . from_apps ( apps ) , InteractiveMigrationQuestioner ( specified_apps = app_labels , dry_run = self . dry_run ) , )