def _prepare(cls):
        # the dbmodel is either the proxy base or ourselves
        dbmodel = cls._meta.proxy_for_model if cls._meta.proxy else cls
        cls.__dbclass__ = dbmodel
        dbmodel._idmapper_recache_protection = False
        if not hasattr(dbmodel, "__instance_cache__"):
            # we store __instance_cache__ only on the dbmodel base
            dbmodel.__instance_cache__ = {}
        super(SharedMemoryModelBase, cls)._prepare()
Create the output for the image
dataset/ETHPy150Open evennia/evennia/evennia/utils/idmapper/models.py/SharedMemoryModelBase._prepare--crossover with--dataset/ETHPy150Open projectatomic/atomic-reactor/atomic_reactor/plugins/exit_koji_promote.py/KojiPromotePlugin.get_image_output