)]}'
{"barbican/queue/server.py":[{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"66d1b901653252631895af143e6dbd9837f43cf9","unresolved":false,"context_lines":[{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        def newrelic_wrapper(*args, **kwargs):"},{"line_number":80,"context_line":"            # Resolve real name since decorators are wrapper the method"},{"line_number":81,"context_line":"            if len(args) \u003e 0 and hasattr(args[0], fn.__name__):"},{"line_number":82,"context_line":"                cls \u003d type(args[0])"},{"line_number":83,"context_line":"                task_name \u003d \u0027{0}:{1}.{2}\u0027.format("},{"line_number":84,"context_line":"                    cls.__module__,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba7be1f8_09be94ff","line":81,"updated":"2015-03-02 01:04:53.000000000","message":"Can you use @functools.wraps instead here?","commit_id":"7837b48dfd46d43f230c4c04979b35167dedb27e"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"e3e4c729ff58ab700799981d886df3eebce81ffb","unresolved":false,"context_lines":[{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        def newrelic_wrapper(*args, **kwargs):"},{"line_number":80,"context_line":"            # Resolve real name since decorators are wrapper the method"},{"line_number":81,"context_line":"            if len(args) \u003e 0 and hasattr(args[0], fn.__name__):"},{"line_number":82,"context_line":"                cls \u003d type(args[0])"},{"line_number":83,"context_line":"                task_name \u003d \u0027{0}:{1}.{2}\u0027.format("},{"line_number":84,"context_line":"                    cls.__module__,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba7be1f8_0293c9fa","line":81,"in_reply_to":"ba7be1f8_09be94ff","updated":"2015-03-02 05:48:51.000000000","message":"I\u0027m not sure that would help in this case. wraps would render the name properly on return for others to see, but I need the real full method path within the scope of the new decorator. The best way I can think to do that, is to look for the passed in \"self\" argument and piece it together.","commit_id":"7837b48dfd46d43f230c4c04979b35167dedb27e"}]}
