)]}'
{"neutron/db/api.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"c595dc0ae4c7c10a36ab244f35f50202803ed524","unresolved":false,"context_lines":[{"line_number":138,"context_line":"    \"\"\""},{"line_number":139,"context_line":"    def decorator(f):"},{"line_number":140,"context_line":"        try:"},{"line_number":141,"context_line":"            ctx_arg_index \u003d p_util.getargspec(f).args.index(context_var_name)"},{"line_number":142,"context_line":"        except ValueError:"},{"line_number":143,"context_line":"            raise RuntimeError(_LE(\"Could not find position of var %s\")"},{"line_number":144,"context_line":"                               % context_var_name)"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a89bdaa_2088f1c4","line":141,"updated":"2016-09-12 23:34:20.000000000","message":"you should add why you used pecan","commit_id":"ccb2e7856deb7e791fc64b97a370af31ddd64cb6"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"3b443e06a96d247c08aaa8a3cd51ce0369f62ef1","unresolved":false,"context_lines":[{"line_number":138,"context_line":"    \"\"\""},{"line_number":139,"context_line":"    def decorator(f):"},{"line_number":140,"context_line":"        try:"},{"line_number":141,"context_line":"            ctx_arg_index \u003d p_util.getargspec(f).args.index(context_var_name)"},{"line_number":142,"context_line":"        except ValueError:"},{"line_number":143,"context_line":"            raise RuntimeError(_LE(\"Could not find position of var %s\")"},{"line_number":144,"context_line":"                               % context_var_name)"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a89bdaa_607cb9b5","line":141,"in_reply_to":"9a89bdaa_2088f1c4","updated":"2016-09-12 23:36:09.000000000","message":"I mean in code, rather than commit message.","commit_id":"ccb2e7856deb7e791fc64b97a370af31ddd64cb6"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"f296a538bd654a267d8f27afba560a330f922533","unresolved":false,"context_lines":[{"line_number":138,"context_line":"    \"\"\""},{"line_number":139,"context_line":"    def decorator(f):"},{"line_number":140,"context_line":"        try:"},{"line_number":141,"context_line":"            ctx_arg_index \u003d p_util.getargspec(f).args.index(context_var_name)"},{"line_number":142,"context_line":"        except ValueError:"},{"line_number":143,"context_line":"            raise RuntimeError(_LE(\"Could not find position of var %s\")"},{"line_number":144,"context_line":"                               % context_var_name)"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a89bdaa_834ff532","line":141,"in_reply_to":"9a89bdaa_607cb9b5","updated":"2016-09-13 09:22:14.000000000","message":"Done","commit_id":"ccb2e7856deb7e791fc64b97a370af31ddd64cb6"}],"neutron/db/quota/driver.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"6dbb994e3c9b936f157e78aa3aeb741297af482d","unresolved":false,"context_lines":[{"line_number":231,"context_line":"            return quota_api.create_reservation("},{"line_number":232,"context_line":"                context, tenant_id, deltas)"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"    @db_api.retry_if_session_inactive()"},{"line_number":235,"context_line":"    def commit_reservation(self, context, reservation_id):"},{"line_number":236,"context_line":"        # Do not mark resource usage as dirty. If a reservation is committed,"},{"line_number":237,"context_line":"        # then the relevant resources have been created. Usage data for these"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a89bdaa_c6a5f447","line":234,"updated":"2016-09-09 22:56:49.000000000","message":"why not add it to remove_reservation directly?","commit_id":"266c6486df87e74f300dc4039e3589e67a8246b2"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"9be61b8274c332ec71c0a615f2dca0387d0c3f14","unresolved":false,"context_lines":[{"line_number":231,"context_line":"            return quota_api.create_reservation("},{"line_number":232,"context_line":"                context, tenant_id, deltas)"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"    @db_api.retry_if_session_inactive()"},{"line_number":235,"context_line":"    def commit_reservation(self, context, reservation_id):"},{"line_number":236,"context_line":"        # Do not mark resource usage as dirty. If a reservation is committed,"},{"line_number":237,"context_line":"        # then the relevant resources have been created. Usage data for these"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a89bdaa_acad2f8a","line":234,"in_reply_to":"9a89bdaa_117714a0","updated":"2016-09-09 23:53:44.000000000","message":"Done","commit_id":"266c6486df87e74f300dc4039e3589e67a8246b2"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"0e7f97ccdfe343df6e1e1982cd2d22f9a8d72861","unresolved":false,"context_lines":[{"line_number":231,"context_line":"            return quota_api.create_reservation("},{"line_number":232,"context_line":"                context, tenant_id, deltas)"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"    @db_api.retry_if_session_inactive()"},{"line_number":235,"context_line":"    def commit_reservation(self, context, reservation_id):"},{"line_number":236,"context_line":"        # Do not mark resource usage as dirty. If a reservation is committed,"},{"line_number":237,"context_line":"        # then the relevant resources have been created. Usage data for these"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a89bdaa_117714a0","line":234,"in_reply_to":"9a89bdaa_c6a5f447","updated":"2016-09-09 23:10:39.000000000","message":"That said, what about the methods that do DB access in the neutron/db/quota/api.py?","commit_id":"266c6486df87e74f300dc4039e3589e67a8246b2"},{"author":{"_account_id":14615,"name":"Sergey Belous","email":"belous.py@gmail.com","username":"sbelous"},"change_message_id":"dd743267bb8fec1eb82dd4d69500c6605a248143","unresolved":false,"context_lines":[{"line_number":49,"context_line":"                    for key, resource in resources.items())"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    @staticmethod"},{"line_number":52,"context_line":"    def get_tenant_quotas(context, resources, tenant_id):"},{"line_number":53,"context_line":"        \"\"\"Given a list of resources, retrieve the quotas for the given"},{"line_number":54,"context_line":"        tenant. If no limits are found for the specified tenant, the operation"},{"line_number":55,"context_line":"        returns the default limits."}],"source_content_type":"text/x-python","patch_set":6,"id":"9a89bdaa_195fd241","line":52,"updated":"2016-09-13 09:56:10.000000000","message":"What about adding decorator to this method? I guess, it also should be here.","commit_id":"78390f49b6c98cff75a0eece312ad0dec1de52a9"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"d5b08ac0697cc2ebaa400aaa5fb615d39224a279","unresolved":false,"context_lines":[{"line_number":49,"context_line":"                    for key, resource in resources.items())"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    @staticmethod"},{"line_number":52,"context_line":"    def get_tenant_quotas(context, resources, tenant_id):"},{"line_number":53,"context_line":"        \"\"\"Given a list of resources, retrieve the quotas for the given"},{"line_number":54,"context_line":"        tenant. If no limits are found for the specified tenant, the operation"},{"line_number":55,"context_line":"        returns the default limits."}],"source_content_type":"text/x-python","patch_set":6,"id":"9a89bdaa_2350e431","line":52,"in_reply_to":"9a89bdaa_195fd241","updated":"2016-09-13 10:33:27.000000000","message":"Done","commit_id":"78390f49b6c98cff75a0eece312ad0dec1de52a9"}]}
