fix(time_format): invalid comparison of strings to enums

This commit is contained in:
sgerodes 2025-01-10 01:00:54 +01:00
parent c73541a88b
commit 8aed2d51c8

View File

@ -10,7 +10,7 @@ from typing import Optional
from enum import Enum
class ParseDurationUnitFormat(Enum):
class ParseDurationUnitFormat(str, Enum):
SECONDS0 = "s"
SECONDS1 = "second"
SECONDS2 = "seconds"