diff options
author | Roman Podoliaka <rpodolyaka@mirantis.com> | 2016-06-08 15:34:16 +0300 |
---|---|---|
committer | Roman Podoliaka <rpodolyaka@mirantis.com> | 2016-06-27 17:22:01 +0300 |
commit | 8a5fbb723f234c89630360bca24aa91160edd8e0 (patch) | |
tree | 52dad5e007aa2393a96badfacede08dd1f9e303d /releasenotes | |
parent | 1579c7ce1526a952d74faeaad3e0ad1719604221 (diff) | |
download | oslo-db-8a5fbb723f234c89630360bca24aa91160edd8e0.tar.gz |
Make it possible to use enginefacade decorators with class methods
The decorator form can now be used with bound methods after a fix
for the related bug was merged. Mention this in docs and release
notes, so that people are aware of it.
A new test is added to make sure this also works with class methods
(as well as to check that the proposed decorator applying order
is actually correct).
Related-Bug: #1520195
Change-Id: Ifea08114d6d89de9d67fcae397eb94c0afc4d339
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/enginefacade_decorators-4660862fe22d2669.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/enginefacade_decorators-4660862fe22d2669.yaml b/releasenotes/notes/enginefacade_decorators-4660862fe22d2669.yaml new file mode 100644 index 0000000..e176f28 --- /dev/null +++ b/releasenotes/notes/enginefacade_decorators-4660862fe22d2669.yaml @@ -0,0 +1,6 @@ +--- +features: + - enginefacade decorators can now be used for class and instance methods, + which implicitly receive the first positional argument. Previously, it + was required that all decorated functions receive a context value as the + first argument. |