openstacksdk/releasenotes/notes/wait_for_status_delete_callback_param-68d30161e23340bb.yaml
Stephen Finucane a30f9562df Add 'callback' to 'wait_for_delete', 'wait_for_status'
This is helpful for OSC. We also use the opportunity to clean up the
tests for these two functions since they were fairly janky.

Change-Id: I559e6341b15041cb40fe208439da44c66b7cc6ca
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-18 12:48:17 +01:00

9 lines
381 B
YAML

---
features:
- |
The ``Resource.wait_for_status``, ``Resource.wait_for_delete``, and related
proxy wrappers now accept a ``callback`` argument that can be used to pass
a callback function. When provided, the wait function will attempt to
retrieve a ``progress`` value from the resource in question and pass it to
the callback function each time it iterates.