)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":14611,"name":"dasm","display_name":"dasm","email":"dsmigiel@redhat.com","username":"dasm"},"change_message_id":"0971269d8640bb950f26625a1a378caa4cd6e30c","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"1. I78b00516e31ce83376d37f57299b2229b6fb8fcf"},{"line_number":25,"context_line":"2. http://paste.openstack.org/show/565116/"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Change-Id: I47d5ad5a5cdc0cb0d61f0642616cccc8f341ed62"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"fa7ab95a_a5636440","line":26,"updated":"2016-09-01 10:18:31.000000000","message":"Shouldn\u0027t we have bug for this issue?","commit_id":"5d0c089289ba5c8bdb79079ac91fc453739db170"}],"neutron/db/sqlalchemytypes.py":[{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"afa6781476974593dff57d0d01409c60b5f1766e","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    impl \u003d types.DateTime"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    def process_bind_param(self, value, dialect):"},{"line_number":81,"context_line":"        return value.replace(microsecond\u003d0)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    process_result_value \u003d process_bind_param"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa7ab95a_21a4c5b7","line":80,"updated":"2016-08-31 21:38:28.000000000","message":"value can in theory be None though with normal ORM use this doesn\u0027t usually happen (as I see above nobody is checking for it), but I\u0027d check.","commit_id":"703a0c55fab4ec881c830d74b1ce1c8245f68236"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"245d07691e564a5679de8079a30466d781e862a6","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    impl \u003d types.DateTime"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    def process_bind_param(self, value, dialect):"},{"line_number":81,"context_line":"        return value.replace(microsecond\u003d0)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    process_result_value \u003d process_bind_param"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa7ab95a_35295f8a","line":80,"in_reply_to":"fa7ab95a_21a4c5b7","updated":"2016-08-31 23:12:46.000000000","message":"Done","commit_id":"703a0c55fab4ec881c830d74b1ce1c8245f68236"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"afa6781476974593dff57d0d01409c60b5f1766e","unresolved":false,"context_lines":[{"line_number":80,"context_line":"    def process_bind_param(self, value, dialect):"},{"line_number":81,"context_line":"        return value.replace(microsecond\u003d0)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    process_result_value \u003d process_bind_param"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa7ab95a_6185ed05","line":83,"updated":"2016-08-31 21:38:28.000000000","message":"result value can definitely be None if the column being loaded is NULL.  Not sure you need the result processor really (I tend to treat them differently because the \"SELECT many rows\" case is more common than the \"INSERT many rows\" case)","commit_id":"703a0c55fab4ec881c830d74b1ce1c8245f68236"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"245d07691e564a5679de8079a30466d781e862a6","unresolved":false,"context_lines":[{"line_number":80,"context_line":"    def process_bind_param(self, value, dialect):"},{"line_number":81,"context_line":"        return value.replace(microsecond\u003d0)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    process_result_value \u003d process_bind_param"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa7ab95a_f52ff785","line":83,"in_reply_to":"fa7ab95a_6185ed05","updated":"2016-08-31 23:12:46.000000000","message":"I figured I would have it for consistency in case something is returning high precision already.","commit_id":"703a0c55fab4ec881c830d74b1ce1c8245f68236"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"8b01c6f54566b5222941ed5da5d5521209a26ce1","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        return str(value)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"class SecondDateTime(types.TypeDecorator):"},{"line_number":71,"context_line":"    \"\"\"Truncates microseconds."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    Use this for datetime fields so we don\u0027t have to worry about DB-specifc"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa7ab95a_b77bacf3","line":70,"updated":"2016-09-01 04:37:42.000000000","message":"This name has me looking for FirstDateTime, but I suppose DateTimeTruncatedToSeconds is a bit clumsy.","commit_id":"0e7446154be4338df0c66fcef837aea0a5f7ebec"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"1f44495bbf44b334411003f83052596c2206a01e","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        return str(value)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"class SecondDateTime(types.TypeDecorator):"},{"line_number":71,"context_line":"    \"\"\"Truncates microseconds."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    Use this for datetime fields so we don\u0027t have to worry about DB-specifc"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa7ab95a_1dcab94f","line":70,"in_reply_to":"fa7ab95a_b77bacf3","updated":"2016-09-01 05:40:36.000000000","message":"Done","commit_id":"0e7446154be4338df0c66fcef837aea0a5f7ebec"}],"neutron/db/standard_attr.py":[{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"afa6781476974593dff57d0d01409c60b5f1766e","unresolved":false,"context_lines":[{"line_number":54,"context_line":"    revision_number \u003d sa.Column("},{"line_number":55,"context_line":"        sa.BigInteger().with_variant(sa.Integer(), \u0027sqlite\u0027),"},{"line_number":56,"context_line":"        server_default\u003d\u00270\u0027, nullable\u003dFalse)"},{"line_number":57,"context_line":"    created_at \u003d sa.Column(sqlalchemytypes.SecondDateTime)"},{"line_number":58,"context_line":"    updated_at \u003d sa.Column(sqlalchemytypes.SecondDateTime)"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    __mapper_args__ \u003d {"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa7ab95a_e1bf3da8","line":57,"updated":"2016-08-31 21:38:28.000000000","message":"you\u0027re going to want the default/onupdate here that are in oslo.db\u0027s timestampmixin","commit_id":"703a0c55fab4ec881c830d74b1ce1c8245f68236"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"245d07691e564a5679de8079a30466d781e862a6","unresolved":false,"context_lines":[{"line_number":54,"context_line":"    revision_number \u003d sa.Column("},{"line_number":55,"context_line":"        sa.BigInteger().with_variant(sa.Integer(), \u0027sqlite\u0027),"},{"line_number":56,"context_line":"        server_default\u003d\u00270\u0027, nullable\u003dFalse)"},{"line_number":57,"context_line":"    created_at \u003d sa.Column(sqlalchemytypes.SecondDateTime)"},{"line_number":58,"context_line":"    updated_at \u003d sa.Column(sqlalchemytypes.SecondDateTime)"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    __mapper_args__ \u003d {"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa7ab95a_159b7bca","line":57,"in_reply_to":"fa7ab95a_e1bf3da8","updated":"2016-08-31 23:12:46.000000000","message":"We don\u0027t really need them because we have a separate hook processing these since we need bumps on related record changes. I will keep them though just to keep the change isolated.","commit_id":"703a0c55fab4ec881c830d74b1ce1c8245f68236"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"77536480b9a346053d5a89f2974d79d92e8e6099","unresolved":false,"context_lines":[{"line_number":55,"context_line":"    revision_number \u003d sa.Column("},{"line_number":56,"context_line":"        sa.BigInteger().with_variant(sa.Integer(), \u0027sqlite\u0027),"},{"line_number":57,"context_line":"        server_default\u003d\u00270\u0027, nullable\u003dFalse)"},{"line_number":58,"context_line":"    created_at \u003d sa.Column(sqlalchemytypes.TruncatedDateTime,"},{"line_number":59,"context_line":"                           default\u003dtimeutils.utcnow)"},{"line_number":60,"context_line":"    updated_at \u003d sa.Column(sqlalchemytypes.TruncatedDateTime,"},{"line_number":61,"context_line":"                           onupdate\u003dtimeutils.utcnow)"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa7ab95a_680e9e33","line":58,"updated":"2016-09-01 07:25:48.000000000","message":"does this not require a migration?","commit_id":"9afe13b39f8f574d3ac851a7b58a266dc7860bc0"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"3a2768ff1230d56257253a23dfa8356834183ff6","unresolved":false,"context_lines":[{"line_number":55,"context_line":"    revision_number \u003d sa.Column("},{"line_number":56,"context_line":"        sa.BigInteger().with_variant(sa.Integer(), \u0027sqlite\u0027),"},{"line_number":57,"context_line":"        server_default\u003d\u00270\u0027, nullable\u003dFalse)"},{"line_number":58,"context_line":"    created_at \u003d sa.Column(sqlalchemytypes.TruncatedDateTime,"},{"line_number":59,"context_line":"                           default\u003dtimeutils.utcnow)"},{"line_number":60,"context_line":"    updated_at \u003d sa.Column(sqlalchemytypes.TruncatedDateTime,"},{"line_number":61,"context_line":"                           onupdate\u003dtimeutils.utcnow)"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa7ab95a_f4e607e7","line":58,"in_reply_to":"fa7ab95a_680e9e33","updated":"2016-09-01 08:49:18.000000000","message":"Nope. The SQL side is already truncating datetimes. The issue is that, depending on the backend, some are rounding up instead leading to inconsistency.","commit_id":"9afe13b39f8f574d3ac851a7b58a266dc7860bc0"}]}
