This decorator allow us to define that certain parameters are strictly
keyword arguments only, without sacrificing the convenience of having
those arguments listed in the function definition.
This will mean that we are no longer trapped maintaining backwards
compatibility for the order of keyword arguments.
The enforcement levels should allow us to start putting warnings on
existing functions and strict enforcement on new functions.
Reviewed: https:/ /review. openstack. org/77026 /git.openstack. org/cgit/ openstack/ python- keystoneclient/ commit/ ?id=67e99991d52 bc788a1380e8cb5 fa1ffa27a484c8
Committed: https:/
Submitter: Jenkins
Branch: master
commit 67e99991d52bc78 8a1380e8cb5fa1f fa27a484c8
Author: Jamie Lennox <email address hidden>
Date: Fri Feb 28 11:22:26 2014 +1000
Add a positional decorator
This decorator allow us to define that certain parameters are strictly
keyword arguments only, without sacrificing the convenience of having
those arguments listed in the function definition.
This will mean that we are no longer trapped maintaining backwards
compatibility for the order of keyword arguments.
The enforcement levels should allow us to start putting warnings on
existing functions and strict enforcement on new functions.
Partial-Bug: #1295881 be8362df5059447 1ab8037c5b2
Change-Id: Ic0a196874930e7