)]}'
{"nova/api/openstack/compute/quota_classes.py":[{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"85c8463b6be1415e0a43d9a875de13e9591d1721","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"# TODO(jaypipes): Deprecate the quota-classes API entirely"},{"line_number":146,"context_line":"def _get_class_quotas(context, quota_class):"},{"line_number":147,"context_line":"    \"\"\"Returns a dict, keyed by resource type, of the limits set for a class of"},{"line_number":148,"context_line":"    quotas."},{"line_number":149,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"ff570b3c_0d19fed5","line":146,"updated":"2020-06-02 12:32:09.000000000","message":"So this totally breaks my quota work, as I need this layer to neatly override with unified limits behaviour, which is slightly different again.\n\nThis API can\u0027t get removed, so I don\u0027t quite see what this achieves.","commit_id":"bbb15f59894b983a6b2e588b213bb9be00e40e48"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"95835f72d5837d8c30238ee058f9e105538c848c","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"# TODO(jaypipes): Deprecate the quota-classes API entirely"},{"line_number":146,"context_line":"def _get_class_quotas(context, quota_class):"},{"line_number":147,"context_line":"    \"\"\"Returns a dict, keyed by resource type, of the limits set for a class of"},{"line_number":148,"context_line":"    quotas."},{"line_number":149,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"ff570b3c_8daeae2b","line":146,"in_reply_to":"ff570b3c_0d19fed5","updated":"2020-06-02 12:38:22.000000000","message":"So we don\u0027t read anything other than \"default\", which is how you set the default quotas.\n\nI would rather we moved to use the get_defaults method, and stop allow the setting of anything other than \"default\".\n\nHowerver... that feels like we need a spec to understand the API impact of this.","commit_id":"bbb15f59894b983a6b2e588b213bb9be00e40e48"}]}
