def __delitem__(self, key):  # O(1)
        """If the item you requested already expires, KeyError will be raised."""
        self._validate_key(key)
        with self._lock:
            # Skip self._maintenance(), because it would need O(logN) time
            self._mapping.pop(key, None)  # O(1)
            sequence, timestamps = self._mapping.get(self._INDEX, ([], {}))
            del timestamps[key]  # O(1)
            self._mapping[self._INDEX] = sequence, timestamps
If the item you requested already expires, KeyError will be raised.
Solutions/CyberArkAudit/Data Connectors/.python_packages/lib/site-packages/msal/individual_cache.py