)]}'
{"oslo_versionedobjects/fields.py":[{"author":{"_account_id":9796,"name":"ChangBo Guo","email":"glongwave@gmail.com","username":"gcb"},"change_message_id":"a65b826d9ea026cef8c3535c4d804d9f50a956a2","unresolved":false,"context_lines":[{"line_number":312,"context_line":"        }"},{"line_number":313,"context_line":"        try:"},{"line_number":314,"context_line":"            uuid.UUID(value, version\u003d4)"},{"line_number":315,"context_line":"        except ValueError:"},{"line_number":316,"context_line":"            debtcollector.deprecate("},{"line_number":317,"context_line":"                _(\u0027%(msg)s - in the future oslo_versionedobjects will validate\u0027"},{"line_number":318,"context_line":"                  \u0027 UUIDs provided to UUIDFields, and will raise a ValueError \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"da6ed579_3f4591b2","line":315,"range":{"start_line":315,"start_character":25,"end_line":315,"end_character":26},"updated":"2016-01-13 06:35:14.000000000","message":"I would like merge line 309~312 as debtcollector.eprecate arguments. Because, we only need this we got a ValueError.","commit_id":"badbf052bb560a973d789099f8c2ff9245236dfd"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"e962e741b9f6b894438ce0abf745302ce57d049f","unresolved":false,"context_lines":[{"line_number":777,"context_line":""},{"line_number":778,"context_line":""},{"line_number":779,"context_line":"class UUIDField(AutoTypedField):"},{"line_number":780,"context_line":"    @updating.updated_kwarg_default_value(\u0027validate\u0027, False, True)"},{"line_number":781,"context_line":"    def __init__(self, validate\u003dNone, **kwargs):"},{"line_number":782,"context_line":"        self.AUTO_TYPE \u003d UUID(validate\u003dvalidate)"},{"line_number":783,"context_line":"        super(UUIDField, self).__init__(**kwargs)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a5ae5dd_43ca1ea3","line":780,"updated":"2016-02-03 15:16:17.000000000","message":"As I\u0027ve said in the patch below this one, I\u0027m not in favor of handling this deprecation this way.\n\nI\u0027m cool with adding an emitted-once warning if we encounter a non-uuid value for this field, and then converting it over in a major version bump once the supported releases for our consumers have fixed all their invalid uuids.","commit_id":"b7c73c6406383a0f8fcb10690a3094163c35868f"}]}
