def METHOD_NAME(self):
    if self.run_setup_mappers != "once":
        (
            self.__class__.mapper_registry,
            self.__class__.mapper,
        ) = self._generate_registry()
    if self.run_setup_mappers == "each":
        self._with_register_classes(self.setup_mappers)