)]}'
{"magnum/common/context.py":[{"author":{"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"},"change_message_id":"05194a1c1e629163e6d76d70142337ad071ea727","unresolved":false,"context_lines":[{"line_number":84,"context_line":"    \"\"\"Create an administrator context."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"    :param show_deleted: if True, will show deleted items when query db"},{"line_number":87,"context_line":"    \"\"\""},{"line_number":88,"context_line":"    context \u003d RequestContext(user_id\u003dNone,"},{"line_number":89,"context_line":"                             project\u003dNone,"},{"line_number":90,"context_line":"                             is_admin\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":3,"id":"da20952f_1dd94a22","line":87,"updated":"2015-08-31 01:17:27.000000000","message":"it is better to add all_tenants in pydoc comments.","commit_id":"fa5bcee4abd148379b8ef79919e029a5fd2262bd"}],"magnum/service/periodic.py":[{"author":{"_account_id":12175,"name":"Eli Qiao","email":"qiaoliyong@gmail.com","username":"Eli"},"change_message_id":"eb20e16377a66febd496cec2a9a28c822a31cf05","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    @functools.wraps(func)"},{"line_number":37,"context_line":"    def handler(self, ctx):"},{"line_number":38,"context_line":"        ctx \u003d context.make_admin_context()"},{"line_number":39,"context_line":"        ctx.all_tenants \u003d True"},{"line_number":40,"context_line":"        context.set_ctx(ctx)"},{"line_number":41,"context_line":"        func(self, ctx)"},{"line_number":42,"context_line":"        context.set_ctx(None)"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa1b9901_febff2a7","line":39,"updated":"2015-08-25 06:38:16.000000000","message":"hi hongbin, how about pass all_tenants\u003dTrue as a parameter of make_admin_context() instead of set it after we get the cxt?\n\nI don\u0027t feel it good to change a context anywhere, it will make hard to debug\nthe content of a context.","commit_id":"beb1779a088a5fd60cb38eb1c4235c7c7830549c"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"ab186772479e2e57d914d59e15c2b59981d576e5","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    @functools.wraps(func)"},{"line_number":37,"context_line":"    def handler(self, ctx):"},{"line_number":38,"context_line":"        ctx \u003d context.make_admin_context()"},{"line_number":39,"context_line":"        ctx.all_tenants \u003d True"},{"line_number":40,"context_line":"        context.set_ctx(ctx)"},{"line_number":41,"context_line":"        func(self, ctx)"},{"line_number":42,"context_line":"        context.set_ctx(None)"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa1b9901_670b2a25","line":39,"in_reply_to":"fa1b9901_febff2a7","updated":"2015-08-25 20:12:13.000000000","message":"Will give it a try.","commit_id":"beb1779a088a5fd60cb38eb1c4235c7c7830549c"}]}
