File: callbacksmanager-cancellable-events-966d76925db919a8.yaml

package info (click to toggle)
python-neutron-lib 3.21.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,660 kB
  • sloc: python: 22,829; sh: 137; makefile: 24
file content (8 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
---
features:
  - |
    ``CallbacksManager`` can now subscribe cancellable events. By default,
    only ``before_`` and ``precommit_`` events, in case of error, can raise a
    ``CallbackFailure`` exception. Now, if the event is subscribed with
    the flag ``cancellable`` enabled, the ``publish`` method will raise this
    exception if the callback fails and returns an error.