)]}'
{"openstack/telemetry/v2/meter.py":[{"author":{"_account_id":8257,"name":"Brian Curtin","email":"brian@python.org","username":"briancurtin"},"change_message_id":"e00672ed4b4d3b890ed135a41bc745b0d29dd034","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    service \u003d telemetry_service.TelemetryService()"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    # Supported Operations"},{"line_number":24,"context_line":"    allow_list \u003d True"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    # Properties"},{"line_number":27,"context_line":"    name \u003d resource.prop(\u0027name\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_5bc41e93","line":24,"updated":"2014-08-12 15:31:43.000000000","message":"I think allow_retreive should work as well here. Meter.get_by_id(sess, \"my_meter_name\") seems like it would","commit_id":"34777130b143588ca27d46a9531694c1b524f080"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"b66d2a661cae9de01b6a89c80990283416fbf886","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    service \u003d telemetry_service.TelemetryService()"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    # Supported Operations"},{"line_number":24,"context_line":"    allow_list \u003d True"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    # Properties"},{"line_number":27,"context_line":"    name \u003d resource.prop(\u0027name\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_f9141a9a","line":24,"in_reply_to":"baada198_5bc41e93","updated":"2014-08-12 16:26:20.000000000","message":"I thought so at first. Checking the API carefully when you fetch /meters/{{meter_name}} you get Samples, not any further detail about the meter.  The only way to look up a meter specifically would be with list and a query string parameter to filter.","commit_id":"34777130b143588ca27d46a9531694c1b524f080"},{"author":{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},"change_message_id":"a6585a7a88438db95185ba880d5a052c412e2a08","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    # Supported Operations"},{"line_number":24,"context_line":"    allow_list \u003d True"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    # Properties"},{"line_number":27,"context_line":"    name \u003d resource.prop(\u0027name\u0027)"},{"line_number":28,"context_line":"    project_id \u003d resource.prop(\u0027project_id\u0027)"},{"line_number":29,"context_line":"    resource_id \u003d resource.prop(\u0027resource_id\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_806e37c8","line":26,"updated":"2014-08-14 01:39:54.000000000","message":"The docs have meter_id for id, so that would be a special case, you\u0027d have to override the id method like the object store container resource.","commit_id":"8417d9e0693e348a32a76446479cea3cc7be5909"},{"author":{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},"change_message_id":"050f8712256bf5a5283ca910bf344e36c6bdc104","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"class Meter(resource.Resource):"},{"line_number":18,"context_line":"    resource_key \u003d \u0027meter\u0027"},{"line_number":19,"context_line":"    resources_key \u003d \u0027meters\u0027"},{"line_number":20,"context_line":"    base_path \u003d \u0027/v2/meters\u0027"},{"line_number":21,"context_line":"    service \u003d telemetry_service.TelemetryService()"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"7ac7a964_0ea07f42","line":19,"updated":"2014-08-14 14:42:59.000000000","message":"-    resources_key \u003d \u0027meters\u0027\n+    resources_key \u003d None\n\nThe response body doesn\u0027t have a resources_key.  It looks like:\n\nRESP BODY: [{\"user_id\": \"88f4ac019b23434ba1662bf432de42a2\", ...","commit_id":"d2695829fec426d2debaf3d3c35251848a54cfbd"},{"author":{"_account_id":8257,"name":"Brian Curtin","email":"brian@python.org","username":"briancurtin"},"change_message_id":"444c943c6634bc5473afcfc3402c0f2c1facbbd3","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    allow_list \u003d True"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    # Properties"},{"line_number":26,"context_line":"    _meter_id \u003d resource.prop(\u0027meter_id\u0027)"},{"line_number":27,"context_line":"    name \u003d resource.prop(\u0027name\u0027)"},{"line_number":28,"context_line":"    project_id \u003d resource.prop(\u0027project_id\u0027)"},{"line_number":29,"context_line":"    resource_id \u003d resource.prop(\u0027resource_id\u0027)"}],"source_content_type":"text/x-python","patch_set":5,"id":"7ac7a964_277d27b2","line":26,"updated":"2014-08-15 19:10:13.000000000","message":"I think we should probably have this as \u0027meter_id\u0027 at this level. I get why you did it with the `id` property there, but I think we should be as close to 1:1 of the API names at this level as we can. I think a higher-level telemetry UI would be the place to take care of de-duplication and other niceties.","commit_id":"169ab00c949002e9605fd75ad1e0999d7d67a35f"}]}
