def get(self, *args, **kwargs):
        """
        Data entity lookup.
        """
        items = list(kwargs)
        inst = None
        if len(items) == 1:
            # CL: support __exact
            key = items[0]
            if key.endswith('__exact'):
                key = key[:-len('__exact')]
            if key in ('pk', self.model._meta.pk.attname):
                inst = self.model.get_cached_instance(kwargs[items[0]])
        if inst is None:
            inst = super(SharedMemoryManager, self).get(*args, **kwargs)
        return inst
dataset/ETHPy150Open evennia/evennia/evennia/utils/idmapper/manager.py/SharedMemoryManager.get/original