from enum import Enum class UnlockState(str, Enum): idle = "idle" authenticating = "authenticating" downloading_key = "downloading_key" decrypting = "decrypting" loading_images = "loading_images" ready = "ready" error = "error"