File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -649,6 +649,19 @@ def _on_click_update_action(self) -> bool:
649649
650650 return not (raised_error )
651651
652+ def run_update (self ):
653+ """
654+ Invokes an update run, the same that is invoked by a click on the update button
655+ or for :param update_mode: "release" and "continuous" when a parameter panel
656+ parameter is changed
657+ """
658+ if self ._update_button is not None :
659+ self ._update_button .click ()
660+ else :
661+ # we might be in update_mode "release" or "continuous" where no button is
662+ # displayed
663+ self ._on_click_update_action ()
664+
652665 def run_code (self , * args , ** kwargs ) -> Check .FunOutParamsT :
653666 """
654667 Runs the `code` with the given (keyword) arguments and returns the output of the
You can’t perform that action at this time.
0 commit comments