Merge lp:~leonardr/lazr.restful/operation-removed-in into lp:lazr.restful
Proposed by
Leonard Richardson
on 2010-01-20
| Status: | Merged |
|---|---|
| Approved by: | Gary Poster on 2010-01-20 |
| Approved revision: | not available |
| Merged at revision: | not available |
| Proposed branch: | lp:~leonardr/lazr.restful/operation-removed-in |
| Merge into: | lp:lazr.restful |
| Diff against target: |
355 lines (+226/-84) 2 files modified
src/lazr/restful/declarations.py (+19/-4) src/lazr/restful/docs/webservice-declarations.txt (+207/-80) |
| To merge this branch: | bzr merge lp:~leonardr/lazr.restful/operation-removed-in |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gary Poster | 2010-01-20 | Approve on 2010-01-20 | |
|
Review via email:
|
|||
To post a comment you must log in.
| Leonard Richardson (leonardr) wrote : | # |
| Gary Poster (gary) wrote : | # |
Approved (with typo fix for "versuibed").
Thank you
Gary
review:
Approve

This branch introduces the @operation_ removed_ in_version method, which stops an operation from having any configuration for the given version number. This has two uses: 1. to remove a named operation as of a current version. 2. to reset the named operation's configuration so that you can do something strange to it like change a read operation to a write operation. My test gives examples of both.
Most of the changes to the doctest are caused by my moving the test elsewhere in the document.