Skip to content

Commit 19359c9

Browse files
committed
doc
1 parent 054fcbf commit 19359c9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

petab/v2/problem.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from math import nan
1111
from numbers import Number
1212
from pathlib import Path
13-
from typing import TYPE_CHECKING
13+
from typing import TYPE_CHECKING, Any
1414

1515
import pandas as pd
1616
import sympy as sp
@@ -1099,6 +1099,12 @@ def __iadd__(self, other):
10991099
def model_dump(self, **kwargs) -> dict[str, Any]:
11001100
"""Convert this Problem to a dictionary.
11011101
1102+
This function is intended for debugging purposes and should not be
1103+
used for serialization. The output of this function may change
1104+
without notice.
1105+
1106+
The output includes all PEtab tables, but not the model itself.
1107+
11021108
See `pydantic.BaseModel.model_dump <https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_dump>`__
11031109
for details.
11041110

0 commit comments

Comments
 (0)