def init_keyring(self): return kwallet.DBusKeyring()
def __init__(self): from keyring.backends import kwallet backend = kwallet.DBusKeyring() super().__init__(backend) self._ensure_backend_is_working()