Skip to content

Commit 0be222e

Browse files
committed
Supported ENUM PostgreSQL Type
Signed-off-by: chandr-andr (Kiselev Aleksandr) <chandr@chandr.net>
1 parent 27fc955 commit 0be222e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tests/test_value_converter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import datetime
22
import uuid
3-
from enum import Enum, StrEnum
3+
from enum import Enum
44
from ipaddress import IPv4Address
55
from typing import Any, Dict, List, Union
66

@@ -455,7 +455,7 @@ class TestEnum(Enum):
455455
SAD = "sad"
456456
HAPPY = "happy"
457457

458-
class TestStrEnum(StrEnum):
458+
class TestStrEnum(str, Enum):
459459
OK = "ok"
460460
SAD = "sad"
461461
HAPPY = "happy"

0 commit comments

Comments
 (0)