Python error when api_version is a kwarg
Bug #1527772 reported by
Mark Sturdevant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-manilaclient |
Fix Released
|
High
|
Mark Sturdevant |
Bug Description
The positional arg is called api_version so when a client uses the api_version kwarg it gets a python error. Renaming the positional and using it instead of the kwarg restores compatability.
Should continue to use the positional version to select the major client version.
If there is an api_version in the kwargs, forward that to the selected client. Otherwise build an APIVersion from the positional arg and forward that as a kwarg.
Changed in python-manilaclient: | |
assignee: | nobody → Mark Sturdevant (mark-sturdevant) |
Changed in python-manilaclient: | |
importance: | Undecided → High |
status: | New → Fix Committed |
milestone: | none → mitaka-2 |
Changed in python-manilaclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in https:/ /review. openstack. org/#/c/ 256019/