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 05c007c commit f84482fCopy full SHA for f84482f
dictdatabase/object_mapper.py
@@ -74,7 +74,10 @@ def _get_item_model(cls):
74
for type_args in get_args(base):
75
if issubclass(type_args, FileDictItemModel):
76
return type_args
77
- raise AttributeError("FileDictModel must specify a FileDictItemModel")
+ raise AttributeError(
78
+ "FileDictModel must specify a FileDictItemModel "
79
+ "(e.g. Users(FileDictModel[User]))"
80
+ )
81
82
83
@classmethod
0 commit comments