call the method autodetector.changes with 3 arguments: graph set to loader.graph, trim_to_apps set to app_labels,
changes = autodetector . changes ( graph = loader . graph , trim_to_apps = app_labels or None , convert_apps = app_labels or None , )