Skip to content

Commit

Permalink
Replace deprecated instance of dict with model_dump and don't execute…
Browse files Browse the repository at this point in the history
… notebooks to produce minimal diff
  • Loading branch information
nanglo123 committed Sep 23, 2024
1 parent 21e7a9c commit 3f36e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/model_api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
")\n",
"natural_conversion = NaturalConversion(subject=infected, outcome=immune)\n",
"sir_template_model = TemplateModel(templates=[controlled_conversion, natural_conversion])\n",
"sir_template_model_dict = sir_template_model.m()\n",
"sir_template_model_dict = sir_template_model.model_dump()\n",
"print(sir_template_model.model_dump_json())"
]
},
Expand Down

0 comments on commit 3f36e60

Please sign in to comment.