def METHOD_NAME(self, *args, **options):
    self.def_code_file = options["def_code_file"]
    logger.info(f"Attempting to load from file: {self.def_code_file}")
    with Timer("Load DEF Code"):
        try:
            with transaction.atomic():
                self._perform_load()
                t = Timer("Commit transaction")
                t.log_starting_message()
            t.log_success_message()
        except Exception:
            logger.error("ALL CHANGES ROLLED BACK DUE TO EXCEPTION")
            raise
        try:
            self._vacuum_tables()
        except Exception:
            logger.error("CHANGES WERE SUCCESSFULLY COMMITTED EVEN THOUGH VACUUMS FAILED")
            raise