def __getitem__(self, key): if not isinstance(key, str): key = key['is logged'] if key is None: return try: return self.__core__[str(util.uuid(key))] except KeyError: pass
def __setitem__(self, key, item): self.__core__[str(util.uuid(key.lower()))] = item self.save
def __delitem__(self, key): del self.__core__[str(util.uuid(key.lower()))] self.save
def __getitem__(self, key): try: return self.__core__[str(util.uuid(key.lower()))] except KeyError: pass