Skip to content

Commit f9227b1

Browse files
author
Natarajan Krishnaswami
committed
Remove comment on needs_py39
1 parent f404ecd commit f9227b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)