I was trying to find a way to set a default value for Enum class on Pydantic as well as FastAPI docs but I couldn't find how to do this. Here is my enum class:
class ConnectionStatus(str,Enum):
active:"active"
inactive:"inactive"
deprecated:"deprecated"
And I'd like to make active as default, for example.
Thanks :)