Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Zwerschke <c.zwerschke@dkfz-heidelberg.de>
  • Loading branch information
lkuchenb and Cito committed May 14, 2024
1 parent 3d7860f commit cf2f255
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,5 @@ def add_inferred_relations(
)

model_dict = model.model_dump()
model_dict.update({"classes": {**model.classes, **updated_class_defs}})
model_dict["classes"].update(updated_class_defs)
return SchemaPack.model_validate(model_dict)

0 comments on commit cf2f255

Please sign in to comment.