)]}'
{"gnocchi/rest/__init__.py":[{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"12b681523a676b6ead70f24dcca0fe2abaad9bca","unresolved":false,"context_lines":[{"line_number":207,"context_line":"class ArchivePoliciesController(rest.RestController):"},{"line_number":208,"context_line":"    @pecan.expose(\u0027json\u0027)"},{"line_number":209,"context_line":"    def post(self):"},{"line_number":210,"context_line":"        # NOTE(jd): Initialize this one at run-time because we rely on conf"},{"line_number":211,"context_line":"        conf \u003d pecan.request.conf"},{"line_number":212,"context_line":"        ArchivePolicySchema \u003d voluptuous.Schema({"},{"line_number":213,"context_line":"            voluptuous.Required(\"name\"): six.text_type,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_62886a71","line":210,"updated":"2015-03-10 11:07:08.000000000","message":"A small improvement can be a lazy loading of the schema on the first API call.","commit_id":"61329156065ad8f6bedcb3803585a8223301d3dd"}],"gnocchi/service.py":[{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"12b681523a676b6ead70f24dcca0fe2abaad9bca","unresolved":false,"context_lines":[{"line_number":43,"context_line":"                           group\u003dNone if group \u003d\u003d \"DEFAULT\" else group)"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    # HACK(jd) I\u0027m not happy about that, fix AP class to handle a conf object?"},{"line_number":46,"context_line":"    archive_policy.ArchivePolicy.DEFAULT_AGGREGATION_METHODS \u003d ("},{"line_number":47,"context_line":"        conf.archive_policy.default_aggregation_methods"},{"line_number":48,"context_line":"    )"},{"line_number":49,"context_line":"    # HACK(jd) Fix oslo policy FFS!"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_42d3665f","line":46,"updated":"2015-03-10 11:07:08.000000000","message":"Perhaps a static method like set_default_aggregation_methods to hide the crap ;)","commit_id":"61329156065ad8f6bedcb3803585a8223301d3dd"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"12b681523a676b6ead70f24dcca0fe2abaad9bca","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        conf.archive_policy.default_aggregation_methods"},{"line_number":48,"context_line":"    )"},{"line_number":49,"context_line":"    # HACK(jd) Fix oslo policy FFS!"},{"line_number":50,"context_line":"    policy.CONF \u003d conf"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    try:"},{"line_number":53,"context_line":"        default_workers \u003d multiprocessing.cpu_count() or 1"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_c2c67699","line":50,"updated":"2015-03-10 11:07:08.000000000","message":"Awesome...","commit_id":"61329156065ad8f6bedcb3803585a8223301d3dd"}]}
