Identity removal: execute prepared DELETE

This commit is contained in:
Piotr F. Mieszkowski 2023-12-05 21:33:19 +01:00
parent cc1bacbe3d
commit 94d0a62766
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ class IdentityRepository(KeyRing):
delq = delete(self._identities).where(self._identities.c.email == email)
LOG.debug('Deleting keys assigned to %s', email)
self._conn.execute(delq)
def freeze_identities(self) -> KeyCache:
"""Return a static, async-safe copy of the identity map."""
self._ensure_connected()