)]}'
{"neutron_lib/api/validators.py":[{"author":{"_account_id":10980,"name":"Doug Wiegley","email":"dougwig@parkside.io","username":"dougw"},"change_message_id":"2872aed915429900fd5396a35719c3a7e64e7e5e","unresolved":false,"context_lines":[{"line_number":537,"context_line":"            segmentation_ids.add(segmentation_id)"},{"line_number":538,"context_line":""},{"line_number":539,"context_line":""},{"line_number":540,"context_line":"# TODO(boden): make validators private and enforce access via get/set funcs"},{"line_number":541,"context_line":"# Dictionary that maintains a list of validation functions"},{"line_number":542,"context_line":"validators \u003d {\u0027type:dict\u0027: validate_dict,"},{"line_number":543,"context_line":"              \u0027type:dict_or_none\u0027: validate_dict_or_none,"}],"source_content_type":"text/x-python","patch_set":2,"id":"7aa08908_67a17e46","line":540,"updated":"2016-06-17 03:47:50.000000000","message":"Wouldn\u0027t this violate our edict of once something is published, it\u0027s public forever?","commit_id":"47c05d38acda8b62515c9dc2411331fda5f722a5"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"2a17263b18bd74cf18fbbfe7b49c19cbfce288c9","unresolved":false,"context_lines":[{"line_number":537,"context_line":"            segmentation_ids.add(segmentation_id)"},{"line_number":538,"context_line":""},{"line_number":539,"context_line":""},{"line_number":540,"context_line":"# TODO(boden): make validators private and enforce access via get/set funcs"},{"line_number":541,"context_line":"# Dictionary that maintains a list of validation functions"},{"line_number":542,"context_line":"validators \u003d {\u0027type:dict\u0027: validate_dict,"},{"line_number":543,"context_line":"              \u0027type:dict_or_none\u0027: validate_dict_or_none,"}],"source_content_type":"text/x-python","patch_set":2,"id":"7aa08908_1b55641d","line":540,"in_reply_to":"7aa08908_67a17e46","updated":"2016-06-17 12:33:32.000000000","message":"Can you please provide a ref to this \"edict\"?","commit_id":"47c05d38acda8b62515c9dc2411331fda5f722a5"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"c5b0071982561ddbd092cdaefb875de4dbf045fe","unresolved":false,"context_lines":[{"line_number":537,"context_line":"            segmentation_ids.add(segmentation_id)"},{"line_number":538,"context_line":""},{"line_number":539,"context_line":""},{"line_number":540,"context_line":"# TODO(boden): make validators private and enforce access via get/set funcs"},{"line_number":541,"context_line":"# Dictionary that maintains a list of validation functions"},{"line_number":542,"context_line":"validators \u003d {\u0027type:dict\u0027: validate_dict,"},{"line_number":543,"context_line":"              \u0027type:dict_or_none\u0027: validate_dict_or_none,"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a9d85d2_247991fd","line":540,"in_reply_to":"7aa08908_67a17e46","updated":"2016-06-20 10:40:28.000000000","message":"I\u0027m not familiar with the history or any \"edicts\" that are not documented, but IMHO we should take the opportunity to \"do things right\" in neutron-lib. I\u0027ll let some other cores weigh in.","commit_id":"47c05d38acda8b62515c9dc2411331fda5f722a5"}],"neutron_lib/tests/unit/api/test_validators.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"98dc41e39f4300a8e9949e0fabc7787fce442d8f","unresolved":false,"context_lines":[{"line_number":53,"context_line":"    def test_type_prefixing(self):"},{"line_number":54,"context_line":"        validators.add_validator(\u0027type:prefixed_type\u0027, dummy_validator)"},{"line_number":55,"context_line":"        validators.add_validator(\u0027unprefixed_type\u0027, dummy_validator)"},{"line_number":56,"context_line":"        self.assertEqual(validators.get_validator(\u0027type:prefixed_type\u0027),"},{"line_number":57,"context_line":"                         dummy_validator)"},{"line_number":58,"context_line":"        self.assertEqual(validators.get_validator(\u0027prefixed_type\u0027),"},{"line_number":59,"context_line":"                         dummy_validator)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7aa08908_fa0f2e86","line":56,"updated":"2016-06-09 14:06:47.000000000","message":"For the asserts, the args should be (expected, actual).","commit_id":"80a424642844b3bf347cd3d96d363902af905ec7"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"66c9141d80f8f2e952d4804f89d5c1bd8dd7a0aa","unresolved":false,"context_lines":[{"line_number":53,"context_line":"    def test_type_prefixing(self):"},{"line_number":54,"context_line":"        validators.add_validator(\u0027type:prefixed_type\u0027, dummy_validator)"},{"line_number":55,"context_line":"        validators.add_validator(\u0027unprefixed_type\u0027, dummy_validator)"},{"line_number":56,"context_line":"        self.assertEqual(validators.get_validator(\u0027type:prefixed_type\u0027),"},{"line_number":57,"context_line":"                         dummy_validator)"},{"line_number":58,"context_line":"        self.assertEqual(validators.get_validator(\u0027prefixed_type\u0027),"},{"line_number":59,"context_line":"                         dummy_validator)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7aa08908_bca63851","line":56,"in_reply_to":"7aa08908_fa0f2e86","updated":"2016-06-09 17:01:38.000000000","message":"Done","commit_id":"80a424642844b3bf347cd3d96d363902af905ec7"}]}
