)]}'
{"openstack/block_storage/v3/_proxy.py":[{"author":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"change_message_id":"9c7faee35dcb2e140290f8ad36c83c21f161a1e8","unresolved":true,"context_lines":[{"line_number":549,"context_line":"            quotas for a project. When set to \u0027\u0027True\u0027\u0027 the method will show"},{"line_number":550,"context_line":"            the quota usage for a project."},{"line_number":551,"context_line":""},{"line_number":552,"context_line":"        :returns: If usage is True, it retruns one :class:"},{"line_number":553,"context_line":"            `~openstack.block_storage.v3.quotas.QuotaSet` instance. Else, it"},{"line_number":554,"context_line":"            returns one :class: `~openstack.block_storage.v3.quotas."},{"line_number":555,"context_line":"            QuotaSetWithUsage` instance."}],"source_content_type":"text/x-python","patch_set":4,"id":"8343c24b_59c135e4","line":552,"range":{"start_line":552,"start_character":41,"end_line":552,"end_character":43},"updated":"2021-05-06 15:37:20.000000000","message":"returns","commit_id":"a5d943c0f9f835dc226826ffcf4ec8f73726b28c"}],"openstack/block_storage/v3/quotas.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"673a84d53e1c73c5d09ff6395df608424746c6ee","unresolved":true,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    #: Properties"},{"line_number":31,"context_line":"    #: The size (GB) of backups that are allowed for each project."},{"line_number":32,"context_line":"    backup_gigabytes \u003d resource.Body(\"backup_gigabytes\", type\u003dint)"},{"line_number":33,"context_line":"    #: The number of backups that are allowed for each project."},{"line_number":34,"context_line":"    backups \u003d resource.Body(\"backups\", type\u003dint)"},{"line_number":35,"context_line":"    #: The size (GB) of volumes and snapshots that are allowed for a project."}],"source_content_type":"text/x-python","patch_set":1,"id":"fa11db39_3d534ca8","line":32,"updated":"2021-04-20 17:41:07.000000000","message":"This is tricky. Unfortunately when you pass the \u0027usage\u0027 querystring parameter, this goes from an int to a dictionary/object [1]. Ditto for the other options below. I suspect we\u0027ll need another separate \u0027Resource\u0027 subclass - QuotaSetWithUsage, perhaps - that only supports \u0027allow_fetch\u0027 and passes the \u0027usage\u003dTrue\u0027 parameter by default. That or we just ignore the \u0027usage\u0027 parameter for now and leave a TODO here\n\n[1] https://docs.openstack.org/api-ref/block-storage/v3/?expanded\u003dshow-quota-usage-for-a-project-detail#quota-sets-extension-os-quota-sets","commit_id":"ea57174bac87b12c66da44967d1066f7cecd8415"},{"author":{"_account_id":33032,"name":"Dylan Zapzalka","email":"dylanjameszapzalka@hotmail.com","username":"dylanzapzalka"},"change_message_id":"93e33eec8543b91ba5d9de023ff1cf1fa822a1b4","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    #: Properties"},{"line_number":31,"context_line":"    #: The size (GB) of backups that are allowed for each project."},{"line_number":32,"context_line":"    backup_gigabytes \u003d resource.Body(\"backup_gigabytes\", type\u003dint)"},{"line_number":33,"context_line":"    #: The number of backups that are allowed for each project."},{"line_number":34,"context_line":"    backups \u003d resource.Body(\"backups\", type\u003dint)"},{"line_number":35,"context_line":"    #: The size (GB) of volumes and snapshots that are allowed for a project."}],"source_content_type":"text/x-python","patch_set":1,"id":"cb979efa_cb9b9145","line":32,"in_reply_to":"fa11db39_3d534ca8","updated":"2021-04-24 22:36:30.000000000","message":"I added another class called QuotaSetWithUsage to satisfy the requirements when usage\u003dTrue. When usage\u003dFalse, the get method will return the QuotaSet class. When usage\u003dTrue, it will return the QuotaSetWithUsage class created in patch 2.","commit_id":"ea57174bac87b12c66da44967d1066f7cecd8415"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"673a84d53e1c73c5d09ff6395df608424746c6ee","unresolved":true,"context_lines":[{"line_number":37,"context_line":"    #: The number of groups that are allowed for each project."},{"line_number":38,"context_line":"    groups \u003d resource.Body(\"groups\", type\u003dint)"},{"line_number":39,"context_line":"    #: The UUID of the project."},{"line_number":40,"context_line":"    id \u003d resource.Body(\"id\")"},{"line_number":41,"context_line":"    #: The size (GB) of volumes that are allowed for each volume."},{"line_number":42,"context_line":"    per_volume_gigabytes \u003d resource.Body(\"per_volume_gigabytes\", type\u003dint)"},{"line_number":43,"context_line":"    #: The number of snapshots that are allowed for each project."}],"source_content_type":"text/x-python","patch_set":1,"id":"fd9fbbd3_1e0e68b0","line":40,"updated":"2021-04-20 17:41:07.000000000","message":"This is part of the default \u0027Resource\u0027 definition so isn\u0027t really needed.","commit_id":"ea57174bac87b12c66da44967d1066f7cecd8415"},{"author":{"_account_id":33032,"name":"Dylan Zapzalka","email":"dylanjameszapzalka@hotmail.com","username":"dylanzapzalka"},"change_message_id":"93e33eec8543b91ba5d9de023ff1cf1fa822a1b4","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    #: The number of groups that are allowed for each project."},{"line_number":38,"context_line":"    groups \u003d resource.Body(\"groups\", type\u003dint)"},{"line_number":39,"context_line":"    #: The UUID of the project."},{"line_number":40,"context_line":"    id \u003d resource.Body(\"id\")"},{"line_number":41,"context_line":"    #: The size (GB) of volumes that are allowed for each volume."},{"line_number":42,"context_line":"    per_volume_gigabytes \u003d resource.Body(\"per_volume_gigabytes\", type\u003dint)"},{"line_number":43,"context_line":"    #: The number of snapshots that are allowed for each project."}],"source_content_type":"text/x-python","patch_set":1,"id":"77be9993_da87a63b","line":40,"in_reply_to":"fd9fbbd3_1e0e68b0","updated":"2021-04-24 22:36:30.000000000","message":"I agree, it has been removed.","commit_id":"ea57174bac87b12c66da44967d1066f7cecd8415"}],"openstack/tests/functional/block_storage/v3/test_quotas.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"673a84d53e1c73c5d09ff6395df608424746c6ee","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"9047b685_45985ad5","line":48,"updated":"2021-04-20 17:41:07.000000000","message":"Could you add a test for \u0027get\u0027 with the \u0027usage\u0027 parameter?","commit_id":"ea57174bac87b12c66da44967d1066f7cecd8415"},{"author":{"_account_id":33032,"name":"Dylan Zapzalka","email":"dylanjameszapzalka@hotmail.com","username":"dylanzapzalka"},"change_message_id":"93e33eec8543b91ba5d9de023ff1cf1fa822a1b4","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"543a4a74_7a5661ae","line":48,"in_reply_to":"9047b685_45985ad5","updated":"2021-04-24 22:36:30.000000000","message":"I agree that should be added. Has been implemented in new patch.","commit_id":"ea57174bac87b12c66da44967d1066f7cecd8415"},{"author":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"change_message_id":"9c7faee35dcb2e140290f8ad36c83c21f161a1e8","unresolved":true,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"    def setUp(self):"},{"line_number":20,"context_line":"        super(TestQuotaSet, self).setUp()"},{"line_number":21,"context_line":"        response \u003d proxy._json_response(self.conn.identity.get(\u0027/projects\u0027))"},{"line_number":22,"context_line":"        self.project_id \u003d response[\u0027projects\u0027][0][\u0027id\u0027]"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    def tearDown(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"dd36a0f7_ace1c14e","line":21,"updated":"2021-05-06 15:37:20.000000000","message":"use list(self.conn.identity.projects()) instead","commit_id":"a5d943c0f9f835dc226826ffcf4ec8f73726b28c"},{"author":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"change_message_id":"9c7faee35dcb2e140290f8ad36c83c21f161a1e8","unresolved":true,"context_lines":[{"line_number":25,"context_line":"        self.conn.block_storage.delete_quotas("},{"line_number":26,"context_line":"            self.project_id, ignore_missing\u003dFalse)"},{"line_number":27,"context_line":"        sot \u003d self.conn.block_storage.get_quotas(self.project_id)"},{"line_number":28,"context_line":"        default \u003d self.conn.block_storage.get_default_quotas(self.project_id)"},{"line_number":29,"context_line":"        self.assertEqual(sot.backup_gigabytes, default.backup_gigabytes)"},{"line_number":30,"context_line":"        self.assertEqual(sot.backups, default.backups)"},{"line_number":31,"context_line":"        self.assertEqual(sot.gigabytes, default.gigabytes)"}],"source_content_type":"text/x-python","patch_set":4,"id":"1c7fc967_8e3695db","line":28,"updated":"2021-05-06 15:37:20.000000000","message":"Please move this into the separate test","commit_id":"a5d943c0f9f835dc226826ffcf4ec8f73726b28c"}]}
