From b8ce102abba3607e52076ff2d20f17dbcf8405ae Mon Sep 17 00:00:00 2001 From: matteocacciola Date: Fri, 9 Aug 2024 19:36:48 +0200 Subject: [PATCH] Update models.py This fix issue #1 --- fastapi_healthz/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fastapi_healthz/models.py b/fastapi_healthz/models.py index e3889cb..4ce96ef 100644 --- a/fastapi_healthz/models.py +++ b/fastapi_healthz/models.py @@ -4,6 +4,9 @@ class HealthCheckStatusEnum(BaseEnum): + def __str__(self): + return str(self.value) + HEALTHY = "Healthy" UNHEALTHY = "Unhealthy"