Skip to content

Commit efcab37

Browse files
committed
Makong Enums as string.
1 parent e66d18b commit efcab37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etl/load/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class ParsingStatus(Enum):
2727
Enum type to distinguish between sucess and failure of parsing
2828
"""
2929

30-
SUCCESS = 1
31-
FAILED = 2
30+
SUCCESS = 'SUCCESS'
31+
FAILED = 'FAILED'
3232

3333

3434
def call_parser(parser_obj, row_json) -> tuple[ParsingStatus, str]:

0 commit comments

Comments
 (0)