Skip to content

Commit 77b858f

Browse files
committed
first change
1 parent cbcf305 commit 77b858f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

idaes/core/util/model_diagnostics.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,15 @@ class DiagnosticsToolbox:
485485
486486
"""
487487

488-
def __init__(self, model: BlockData, **kwargs):
488+
def __init__(self, model: BlockData, keep_history: bool = False, **kwargs):
489+
"""Constructor.
490+
491+
Args:
492+
model: Model on which to operate
493+
keep_history: If True, keep a history of the inputs/results of
494+
calls to a given instance of this class
495+
kwargs: Additional arguments passed to the CONFIG block
496+
"""
489497
# TODO: In future may want to generalise this to accept indexed blocks
490498
# However, for now some of the tools do not support indexed blocks
491499
if not isinstance(model, BlockData):

0 commit comments

Comments
 (0)