Skip to content

Commit 9ed0078

Browse files
KumoLiuericspod
andauthored
Update monai/bundle/workflows.py
Co-authored-by: Eric Kerfoot <[email protected]> Signed-off-by: YunLiu <[email protected]>
1 parent cbffae9 commit 9ed0078

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

monai/bundle/workflows.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,9 @@ def check_properties(self) -> list[str] | None:
395395
return ret
396396

397397
def _run_expr(self, id: str, **kwargs: dict) -> list[Any]:
398+
"""
399+
Evaluate the expression or expression list given by `id`. The resolved values from the evaluations are not stored, allowing this to be evaluated repeatedly (eg. in streaming applications) without restarting the hosting process.
400+
"""
398401
ret = []
399402
if id in self.parser:
400403
# suppose all the expressions are in a list, run and reset the expressions

0 commit comments

Comments
 (0)