)]}'
{"ironic/api/controllers/v1/node.py":[{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"e3e88b2e936c9c457f74d13bacf19b2c6985b8b3","unresolved":false,"context_lines":[{"line_number":56,"context_line":"_VENDOR_METHODS \u003d {}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"def hide_fields_in_newer_versions(obj):"},{"line_number":60,"context_line":"    # if requested version is \u003c 1.6, hide inspection_*_at fields"},{"line_number":61,"context_line":"    if pecan.request.version.minor \u003c 6:"},{"line_number":62,"context_line":"        obj.inspection_finished_at \u003d wsme.Unset"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_8b16cd47","line":59,"updated":"2015-03-18 22:41:20.000000000","message":"it would be better to name as hide_inspect_fields() as it deals only with inspect fields.\nor else we can make this function generic for all the new fields i.e. even hide_driver_internal_info can be combined in this.","commit_id":"a5e006476a55bdb56bd9502681d70cc8f83b98cd"},{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"07fbe0a024564d57825ecaa98b026cf19f2aa992","unresolved":false,"context_lines":[{"line_number":56,"context_line":"_VENDOR_METHODS \u003d {}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"def hide_fields_in_newer_versions(obj):"},{"line_number":60,"context_line":"    # if requested version is \u003c 1.6, hide inspection_*_at fields"},{"line_number":61,"context_line":"    if pecan.request.version.minor \u003c 6:"},{"line_number":62,"context_line":"        obj.inspection_finished_at \u003d wsme.Unset"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_8f733015","line":59,"in_reply_to":"9a80dd14_3168f0b9","updated":"2015-03-19 05:06:45.000000000","message":"i thought the same and i agree its better to have all such checks in single function rather than at multiple places.","commit_id":"a5e006476a55bdb56bd9502681d70cc8f83b98cd"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"b4805459fd10b4af3f75ceab07ec20543026d8f9","unresolved":false,"context_lines":[{"line_number":56,"context_line":"_VENDOR_METHODS \u003d {}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"def hide_fields_in_newer_versions(obj):"},{"line_number":60,"context_line":"    # if requested version is \u003c 1.6, hide inspection_*_at fields"},{"line_number":61,"context_line":"    if pecan.request.version.minor \u003c 6:"},{"line_number":62,"context_line":"        obj.inspection_finished_at \u003d wsme.Unset"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_cb3c4596","line":59,"in_reply_to":"9a80dd14_8b16cd47","updated":"2015-03-18 22:46:10.000000000","message":"I like the \u0027newer_versions\u0027 part of the name.  If it just says \u0027hide_inspect_fields\u0027 then I read that and think it hides the inspection fields.  I don\u0027t think that it is hiding the inspection fields under certain conditions.","commit_id":"a5e006476a55bdb56bd9502681d70cc8f83b98cd"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"50b64d552675d1c6fcdcfa31eeead339a9a62728","unresolved":false,"context_lines":[{"line_number":56,"context_line":"_VENDOR_METHODS \u003d {}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"def hide_fields_in_newer_versions(obj):"},{"line_number":60,"context_line":"    # if requested version is \u003c 1.6, hide inspection_*_at fields"},{"line_number":61,"context_line":"    if pecan.request.version.minor \u003c 6:"},{"line_number":62,"context_line":"        obj.inspection_finished_at \u003d wsme.Unset"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_3168f0b9","line":59,"in_reply_to":"9a80dd14_cb3c4596","updated":"2015-03-18 23:37:50.000000000","message":"Hi Nisha, yes, I agree with you if it was only for inspect* fields. I\u0027m now going to have to reveal my secret plan: to use this method for all new fields, eg the code in hide_driver_internal_info() below.","commit_id":"a5e006476a55bdb56bd9502681d70cc8f83b98cd"}]}
