We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f404ecd commit f9227b1Copy full SHA for f9227b1
tests/test_attribute_keyed_dict.py
@@ -49,7 +49,7 @@ class Parent(SQLModel, table=True):
49
assert parent.children_by_color[Color.Blue].value == 2
50
51
52
-@needs_pydanticv2 # Pydantic V1 doesn't support `dict` with number of arguments < 2
+@needs_pydanticv2
53
@needs_py39 # Generic `dict` requires Python 3.9+
54
def test_dict_relationship_throws_on_wrong_number_of_annotation_args(clear_sqlmodel):
55
class Color(str, Enum):
0 commit comments