Skip to content

Commit a44521a

Browse files
Natarajan Krishnaswaminkrishnaswami
authored andcommitted
Remove comment on needs_py39
1 parent 4265f99 commit a44521a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_attribute_keyed_dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Parent(SQLModel, table=True):
4949
assert parent.children_by_color[Color.Blue].value == 2
5050

5151

52-
@needs_pydanticv2 # Pydantic V1 doesn't support `dict` with number of arguments < 2
52+
@needs_pydanticv2
5353
@needs_py39 # Generic `dict` requires Python 3.9+
5454
def test_dict_relationship_throws_on_wrong_number_of_annotation_args(clear_sqlmodel):
5555
class Color(str, Enum):

0 commit comments

Comments
 (0)