def execute(self, context):
        """Reset import options to factory settings."""
        log_report("INFO", "Reset preferences: ...", self)
        addon_name = _get_addon_name()
        import_export_prefs = bpy.context.preferences.addons[
            addon_name
        ].preferences
        import_export_prefs.reset_import_options()

        log_report("INFO", "Reset preferences: Done", self)
        return {"FINISHED"}
Reset import options to factory settings.
photogrammetry_importer/preferences/addon_preferences.py