)]}'
{"dragonflow/utils/namespace.py":[{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"e7f96ffa79ed35ee111e80ed1f79477c3c6d01e2","unresolved":false,"context_lines":[{"line_number":12,"context_line":"import six"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"class Namespace(object):"},{"line_number":16,"context_line":"    \u0027\u0027\u0027A class that accepts keyword parameters on creation, and exposes access"},{"line_number":17,"context_line":"       through attributes"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5201f7_6a605f36","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":24},"updated":"2017-01-11 02:51:17.000000000","message":"Why do we need such a class? Is there any benefit from this way compared using python dict object directly?","commit_id":"0d2943aa3db0805b728d3c935494ed6262fc401a"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"0fc77878afc58a854195ee19450b87921bc8cd1e","unresolved":false,"context_lines":[{"line_number":12,"context_line":"import six"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"class Namespace(object):"},{"line_number":16,"context_line":"    \u0027\u0027\u0027A class that accepts keyword parameters on creation, and exposes access"},{"line_number":17,"context_line":"       through attributes"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5201f7_3a477a4c","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":24},"in_reply_to":"ba5201f7_6a605f36","updated":"2017-01-11 08:58:50.000000000","message":"I use it for index definition and representation.\n\nI think it allows us to write cleaner code, .member rather than [\u0027member\u0027].","commit_id":"0d2943aa3db0805b728d3c935494ed6262fc401a"},{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"8a98215c367548bd6a0edf36ba655998f27ac910","unresolved":false,"context_lines":[{"line_number":12,"context_line":"import six"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"class Namespace(object):"},{"line_number":16,"context_line":"    \u0027\u0027\u0027A class that accepts keyword parameters on creation, and exposes access"},{"line_number":17,"context_line":"       through attributes"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_eb126056","line":15,"updated":"2017-01-22 04:06:13.000000000","message":"Sorry to take so long to reply. How would .member be cleaner than [\u0027member\u0027]? especially we are in python.\n\nIf you are going to duplicate data, and manage 2 sets of data for this one purpose, I am gonna -1 to this patch.","commit_id":"980db55c0eb1f7cc68a59fd7adf157b9b42be653"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"69b4062019a9030139a28bf6655abdf140c775bb","unresolved":false,"context_lines":[{"line_number":12,"context_line":"import six"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"class Namespace(object):"},{"line_number":16,"context_line":"    \u0027\u0027\u0027A class that accepts keyword parameters on creation, and exposes access"},{"line_number":17,"context_line":"       through attributes"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"5a3905b3_659778ec","line":15,"in_reply_to":"5a3905b3_eb126056","updated":"2017-01-22 15:58:38.000000000","message":"IMO attribute access looks cleaner in code rather than dict access. I will remove duplicate data storing in the next patch if that\u0027s your major concern.","commit_id":"980db55c0eb1f7cc68a59fd7adf157b9b42be653"},{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"854c55177427132387967b009566f21fbc431b3e","unresolved":false,"context_lines":[{"line_number":31,"context_line":"        for key, value in six.iteritems(kwargs):"},{"line_number":32,"context_line":"            self._add_attr(key, value)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    def _add_attr(self, key, value):"},{"line_number":35,"context_line":"        self._dict[key] \u003d value"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    def __iter__(self):"},{"line_number":38,"context_line":"        for key, value in six.iteritems(self._dict):"}],"source_content_type":"text/x-python","patch_set":12,"id":"5a3905b3_276253ae","line":35,"range":{"start_line":34,"start_character":0,"end_line":35,"end_character":31},"updated":"2017-01-25 03:50:27.000000000","message":"I don\u0027t think this one line method is necessary, but I can live with it.","commit_id":"e3fa0134dea72ba68d43eed09c3c544c69454590"}]}
