Skip to content

Commit 232acf1

Browse files
cofinJacobCoffee
andcommitted
Update advanced_alchemy/repository/_util.py
Co-authored-by: Jacob Coffee <[email protected]> Signed-off-by: Cody Fincher <[email protected]>
1 parent f8a4375 commit 232acf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced_alchemy/repository/_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def model_from_dict(model: type[ModelT], **kwargs: Any) -> ModelT:
171171
converted_data[attr_name] = _convert_relationship_value(
172172
value=value,
173173
related_model=related_model,
174-
is_collection=attr.uselist or False,
174+
is_collection=attr.uselist,
175175
)
176176
else:
177177
# Regular column attribute - pass through

0 commit comments

Comments
 (0)