Skip to content

Commit 4db3f21

Browse files
pydantic deprecation fix
1 parent e12dfa2 commit 4db3f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sbmlutils/report/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def json_for_omex(omex_path: Path) -> Dict[str, Any]:
182182
),
183183
)
184184

185-
content = {"uid": uid, "manifest": omex.manifest.dict(), "reports": {}}
185+
content = {"uid": uid, "manifest": omex.manifest.model_dump(), "reports": {}}
186186

187187
# Add report JSON for all SBML files
188188
entry: ManifestEntry

0 commit comments

Comments
 (0)