Use a plain dictionary for Quotas.show method.
Registered by
Tim Simpson
Right now the quotas "show" method returns a "Quota" object. The problem is, the user has to grab the dictionary from this object, so the usage looks like this:
quota = reddwarf_
instance_count = quota._
In this case, the object gets in the way, so it would be nicer if a plain dictionary was returned.
This would also make show dovetail nicely with "Quotas.update" which uses a dictionary.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- Tim Simpson
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Michael Basnight
- Completed by
- Michael Basnight
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Use a plain dict for Quotas.show method.
(?)