from enum import Enum class DocAction(str, Enum): ADD = "add" CLEAR = "clear"