Skip to content

Commit 88d3b2f

Browse files
committed
Remove StrEnum
1 parent 43108bf commit 88d3b2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_attribute_keyed_dict.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
from enum import StrEnum
1+
from enum import Enum
22

33
from sqlalchemy.orm.collections import attribute_keyed_dict
44
from sqlmodel import Field, Index, Relationship, Session, SQLModel, create_engine
55

66

77
def test_attribute_keyed_dict_works(clear_sqlmodel):
8-
class Color(StrEnum):
8+
class Color(str, Enum):
99
Orange = "Orange"
1010
Blue = "Blue"
1111

0 commit comments

Comments
 (0)