-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BaseRestartWorkChain
: allow to override priority in `handler_overri…
…des` (#5546) The `handler_overrides` could so far be used to override the `enabled` keyword of the corresponding handler. This would allow to disable or enable a handler on a per process instance basis. A user may want to do the same for the `priority`. To make this possible the type of the `handler_overrides` is changed where the values should now be dictionaries where the keys `enabled` and `priority` are supported. These can be used to override the original values declared in the source code of the work chain. To provide backwards-compatibility, the old syntax is still supported and automatically converted, with a deprecation warning being displayed.
- Loading branch information
Showing
3 changed files
with
104 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters