)]}'
{"oslo_versionedobjects/base.py":[{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"739141d70cd822af93009c46f6173b85657b7d80","unresolved":false,"context_lines":[{"line_number":911,"context_line":""},{"line_number":912,"context_line":"    def object_class_action(self, context, objname, objmethod, objver,"},{"line_number":913,"context_line":"                            args, kwargs):"},{"line_number":914,"context_line":"        \"\"\"DEPRECATED: Use object_class_action_versions() instead."},{"line_number":915,"context_line":""},{"line_number":916,"context_line":"        Perform an action on a VersionedObject class."},{"line_number":917,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a1a9d01_d622fa51","line":914,"updated":"2015-09-28 23:42:03.000000000","message":"Use http://sphinx-doc.org/markup/para.html#directive-deprecated ?","commit_id":"734cc4e4f72eacd20686b57c02f77799b0c2674c"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"82c0fc0aafc8f8fdbc0a469cf33a2b6761526953","unresolved":false,"context_lines":[{"line_number":911,"context_line":""},{"line_number":912,"context_line":"    def object_class_action(self, context, objname, objmethod, objver,"},{"line_number":913,"context_line":"                            args, kwargs):"},{"line_number":914,"context_line":"        \"\"\"DEPRECATED: Use object_class_action_versions() instead."},{"line_number":915,"context_line":""},{"line_number":916,"context_line":"        Perform an action on a VersionedObject class."},{"line_number":917,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7a2fa921_99cae94e","line":914,"in_reply_to":"9a1a9d01_d622fa51","updated":"2015-10-05 23:56:29.000000000","message":"Ah, yep, thanks.","commit_id":"734cc4e4f72eacd20686b57c02f77799b0c2674c"},{"author":{"_account_id":11803,"name":"Ryan Rossiter","email":"rlrossit@us.ibm.com","username":"rlrossiter"},"change_message_id":"57d20e81a1ff322b9077a62ad0e93220348a4852","unresolved":false,"context_lines":[{"line_number":1005,"context_line":"        :param objinst: An instance of a VersionedObject to be backported"},{"line_number":1006,"context_line":"        :param object_versions: A dict of {objname: version} mappings"},{"line_number":1007,"context_line":"        \"\"\""},{"line_number":1008,"context_line":"        warnings.warn(\u0027object_backport() is deprecated in favor of \u0027"},{"line_number":1009,"context_line":"                      \u0027object_backport_versions() and will be removed \u0027"},{"line_number":1010,"context_line":"                      \u0027in a later release\u0027, warnings.DeprecationWarning)"},{"line_number":1011,"context_line":"        raise NotImplementedError(\u0027Multi-version backport not supported\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a2fa921_a4af80e2","line":1008,"updated":"2015-10-05 20:38:40.000000000","message":"I thought we discussed against doing this because it will totally fill up your log with warnings? I never knew the warnings module existed, but it looks we have 2 options for when to print: once, or always.","commit_id":"734cc4e4f72eacd20686b57c02f77799b0c2674c"},{"author":{"_account_id":11803,"name":"Ryan Rossiter","email":"rlrossit@us.ibm.com","username":"rlrossiter"},"change_message_id":"2aa268e7077198decc9db7df047087b437626139","unresolved":false,"context_lines":[{"line_number":1005,"context_line":"        :param objinst: An instance of a VersionedObject to be backported"},{"line_number":1006,"context_line":"        :param object_versions: A dict of {objname: version} mappings"},{"line_number":1007,"context_line":"        \"\"\""},{"line_number":1008,"context_line":"        warnings.warn(\u0027object_backport() is deprecated in favor of \u0027"},{"line_number":1009,"context_line":"                      \u0027object_backport_versions() and will be removed \u0027"},{"line_number":1010,"context_line":"                      \u0027in a later release\u0027, warnings.DeprecationWarning)"},{"line_number":1011,"context_line":"        raise NotImplementedError(\u0027Multi-version backport not supported\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a2fa921_48422140","line":1008,"in_reply_to":"7a2fa921_19b6d9dc","updated":"2015-10-06 13:14:39.000000000","message":"Huh didn\u0027t know once was the default... warnings definitely wasn\u0027t very explicit about that.","commit_id":"734cc4e4f72eacd20686b57c02f77799b0c2674c"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"82c0fc0aafc8f8fdbc0a469cf33a2b6761526953","unresolved":false,"context_lines":[{"line_number":1005,"context_line":"        :param objinst: An instance of a VersionedObject to be backported"},{"line_number":1006,"context_line":"        :param object_versions: A dict of {objname: version} mappings"},{"line_number":1007,"context_line":"        \"\"\""},{"line_number":1008,"context_line":"        warnings.warn(\u0027object_backport() is deprecated in favor of \u0027"},{"line_number":1009,"context_line":"                      \u0027object_backport_versions() and will be removed \u0027"},{"line_number":1010,"context_line":"                      \u0027in a later release\u0027, warnings.DeprecationWarning)"},{"line_number":1011,"context_line":"        raise NotImplementedError(\u0027Multi-version backport not supported\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a2fa921_19b6d9dc","line":1008,"in_reply_to":"7a2fa921_a4af80e2","updated":"2015-10-05 23:56:29.000000000","message":"We definitely can\u0027t log always, for sure, which I think is what we discussed. This logs once, which is what we want and is pretty standard python library behavior for deprecations.\n\n \u003e\u003e\u003e warnings.warn(\u0027foo\u0027)\n __main__:1: UserWarning: foo\n \u003e\u003e\u003e warnings.warn(\u0027foo\u0027)\n \u003e\u003e\u003e","commit_id":"734cc4e4f72eacd20686b57c02f77799b0c2674c"}]}
