)]}'
{"ironic/objects/base.py":[{"author":{"_account_id":14891,"name":"Lilia Sampaio","email":"liliars@lsd.ufcg.edu.br","username":"liliars"},"change_message_id":"44eb485127cdefce6196a5fcac11884199029f44","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                self[field] \u003d loaded_object[field]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _from_db_object(object, db_object):"},{"line_number":79,"context_line":"        \"\"\"Converts a database entity to a formal object.\"\"\""},{"line_number":80,"context_line":"        for field in object.fields:"},{"line_number":81,"context_line":"            object[field] \u003d db_object[field]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a57f1b5_9e469f4d","line":78,"updated":"2016-02-12 14:24:12.000000000","message":"In the other classes this method was private but now I feel like s/_from_db_object/from_db_object would be more appropriate. Wdyt?","commit_id":"17464672c62f5c8e1ec80af640379983ca82cdb0"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"69d73b5de2ce9d102ff9e534c14f6b99e3b9d644","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                self[field] \u003d loaded_object[field]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _from_db_object(object, db_object):"},{"line_number":79,"context_line":"        \"\"\"Converts a database entity to a formal object.\"\"\""},{"line_number":80,"context_line":"        for field in object.fields:"},{"line_number":81,"context_line":"            object[field] \u003d db_object[field]"}],"source_content_type":"text/x-python","patch_set":2,"id":"bae84128_1d67e0e9","line":78,"in_reply_to":"3a57f1b5_3b33f2ac","updated":"2016-02-23 15:04:58.000000000","message":"+1 for \"this name is fine\"; we don\u0027t expect things outside of this class to use this.\n\nThat said, I\u0027m -1 here for using `object` as a variable name; that\u0027s a reserved identifier in Python and we shouldn\u0027t be overwriting it :)\n\nMay let\u0027s use `obj` or `object_` instead.","commit_id":"17464672c62f5c8e1ec80af640379983ca82cdb0"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"0f34fabd183ef2ee72a72508ee3ad6a4b999afdb","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                self[field] \u003d loaded_object[field]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _from_db_object(object, db_object):"},{"line_number":79,"context_line":"        \"\"\"Converts a database entity to a formal object.\"\"\""},{"line_number":80,"context_line":"        for field in object.fields:"},{"line_number":81,"context_line":"            object[field] \u003d db_object[field]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a57f1b5_e50cdbed","line":78,"in_reply_to":"3a57f1b5_470b778e","updated":"2016-02-12 16:28:24.000000000","message":"I tend to agree with Lilia here, if this is going to be a public (non-private) method removing the leading _ would be the best thing to do. But also like John I do not believe it is worth blocking the patch over.","commit_id":"17464672c62f5c8e1ec80af640379983ca82cdb0"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"fa69c55f90faec49e74369871d59698c5c45f77a","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                self[field] \u003d loaded_object[field]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _from_db_object(object, db_object):"},{"line_number":79,"context_line":"        \"\"\"Converts a database entity to a formal object.\"\"\""},{"line_number":80,"context_line":"        for field in object.fields:"},{"line_number":81,"context_line":"            object[field] \u003d db_object[field]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a57f1b5_3b33f2ac","line":78,"in_reply_to":"3a57f1b5_9b6a26b2","updated":"2016-02-12 17:07:12.000000000","message":"I think the method name is fine as-is.  If we come to a consensus latter and decide to change it, awesome, however I agree with the stance that it not a public method.","commit_id":"17464672c62f5c8e1ec80af640379983ca82cdb0"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"b1031b6c0fd6a11b9e5218a88af5b03151f2cb32","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                self[field] \u003d loaded_object[field]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _from_db_object(object, db_object):"},{"line_number":79,"context_line":"        \"\"\"Converts a database entity to a formal object.\"\"\""},{"line_number":80,"context_line":"        for field in object.fields:"},{"line_number":81,"context_line":"            object[field] \u003d db_object[field]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a57f1b5_470b778e","line":78,"in_reply_to":"3a57f1b5_9e469f4d","updated":"2016-02-12 16:03:56.000000000","message":"I don\u0027t think so myself. To me this helps indicate that outside users should not call it directly. I think a single underscore is fine for derived classes to call. But helps indicate to users outside the class that they should not depend on it.\n\nBut I don\u0027t have strong feelings on it :)","commit_id":"17464672c62f5c8e1ec80af640379983ca82cdb0"},{"author":{"_account_id":6287,"name":"David Lenwell","email":"dlenwell@gmail.com","username":"dlenwell"},"change_message_id":"c2e047c8130760bcfc6411ad07ad229f6cb0fda2","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                self[field] \u003d loaded_object[field]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _from_db_object(object, db_object):"},{"line_number":79,"context_line":"        \"\"\"Converts a database entity to a formal object.\"\"\""},{"line_number":80,"context_line":"        for field in object.fields:"},{"line_number":81,"context_line":"            object[field] \u003d db_object[field]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a57f1b5_e5b37b98","line":78,"in_reply_to":"3a57f1b5_e50cdbed","updated":"2016-02-12 16:36:43.000000000","message":"Also agree with lilia.. but I actually do think its worth blocking over.. naming conventions are important.","commit_id":"17464672c62f5c8e1ec80af640379983ca82cdb0"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d833203176a09f549b9aa1e977b35e624f1d97b3","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                self[field] \u003d loaded_object[field]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _from_db_object(object, db_object):"},{"line_number":79,"context_line":"        \"\"\"Converts a database entity to a formal object.\"\"\""},{"line_number":80,"context_line":"        for field in object.fields:"},{"line_number":81,"context_line":"            object[field] \u003d db_object[field]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a57f1b5_a5fa6373","line":78,"in_reply_to":"3a57f1b5_e50cdbed","updated":"2016-02-12 16:32:47.000000000","message":"FWIW this change does not make this method public, so I\u0027m not sure why remove _","commit_id":"17464672c62f5c8e1ec80af640379983ca82cdb0"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"0628882e8e194be059b8d21158b28f450092ef67","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                self[field] \u003d loaded_object[field]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _from_db_object(object, db_object):"},{"line_number":79,"context_line":"        \"\"\"Converts a database entity to a formal object.\"\"\""},{"line_number":80,"context_line":"        for field in object.fields:"},{"line_number":81,"context_line":"            object[field] \u003d db_object[field]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a57f1b5_9b6a26b2","line":78,"in_reply_to":"3a57f1b5_e5b37b98","updated":"2016-02-12 16:58:58.000000000","message":"I don\u0027t consider this a public method. I don\u0027t think a user of the Chassis class should be calling this. The Chassis class can call it, but not a user of the Chassis class.\n\nThus to me the underscore is correct in implying it is not a public method.","commit_id":"17464672c62f5c8e1ec80af640379983ca82cdb0"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"4b2f4cb1774fb8f2b16ca9335dc28378771c4c06","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                self[field] \u003d loaded_object[field]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _from_db_object(object, db_object):"},{"line_number":79,"context_line":"        \"\"\"Converts a database entity to a formal object.\"\"\""},{"line_number":80,"context_line":"        for field in object.fields:"},{"line_number":81,"context_line":"            object[field] \u003d db_object[field]"}],"source_content_type":"text/x-python","patch_set":2,"id":"bae84128_f645ba6e","line":78,"in_reply_to":"bae84128_1d67e0e9","updated":"2016-02-24 14:33:54.000000000","message":"Done","commit_id":"17464672c62f5c8e1ec80af640379983ca82cdb0"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"fa69c55f90faec49e74369871d59698c5c45f77a","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _from_db_object(object, db_object):"},{"line_number":79,"context_line":"        \"\"\"Converts a database entity to a formal object.\"\"\""},{"line_number":80,"context_line":"        for field in object.fields:"},{"line_number":81,"context_line":"            object[field] \u003d db_object[field]"},{"line_number":82,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a57f1b5_dbb17e02","line":79,"range":{"start_line":79,"start_character":11,"end_line":79,"end_character":57},"updated":"2016-02-12 17:07:12.000000000","message":"I\u0027d really like to see something along the lines of the doc string from ironic/objects/chassis.py here, but do not believe it is worth blocking over.","commit_id":"17464672c62f5c8e1ec80af640379983ca82cdb0"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"4b2f4cb1774fb8f2b16ca9335dc28378771c4c06","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _from_db_object(object, db_object):"},{"line_number":79,"context_line":"        \"\"\"Converts a database entity to a formal object.\"\"\""},{"line_number":80,"context_line":"        for field in object.fields:"},{"line_number":81,"context_line":"            object[field] \u003d db_object[field]"},{"line_number":82,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"bae84128_b64fb290","line":79,"range":{"start_line":79,"start_character":11,"end_line":79,"end_character":57},"in_reply_to":"3a57f1b5_dbb17e02","updated":"2016-02-24 14:33:54.000000000","message":"Done","commit_id":"17464672c62f5c8e1ec80af640379983ca82cdb0"}]}
