)]}'
{"neutron/db/l3_db.py":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"1d7155b6b46c20aef74fe909bb25198adf336347","unresolved":false,"context_lines":[{"line_number":1882,"context_line":"            rp.port_type \u003d new_owner"},{"line_number":1883,"context_line":"            rp.port.device_owner \u003d new_owner"},{"line_number":1884,"context_line":""},{"line_number":1885,"context_line":""},{"line_number":1886,"context_line":"def _prevent_l3_port_delete_callback(resource, event, trigger, **kwargs):"},{"line_number":1887,"context_line":"    context \u003d kwargs[\u0027context\u0027]"},{"line_number":1888,"context_line":"    port_id \u003d kwargs[\u0027port_id\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a30ddce_095fd20e","side":"PARENT","line":1885,"updated":"2017-03-09 08:38:59.000000000","message":"Can we define a decorator for subscribing module functions rather then moving them into classes and involving all the overhead related to bound/unbound methods?","commit_id":"5691f29e8fd1212bb22b1a48d32dbbddf7e0587d"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"618d7856921eb56f85daf8fb2857f965f0ff3ce1","unresolved":false,"context_lines":[{"line_number":1882,"context_line":"            rp.port_type \u003d new_owner"},{"line_number":1883,"context_line":"            rp.port.device_owner \u003d new_owner"},{"line_number":1884,"context_line":""},{"line_number":1885,"context_line":""},{"line_number":1886,"context_line":"def _prevent_l3_port_delete_callback(resource, event, trigger, **kwargs):"},{"line_number":1887,"context_line":"    context \u003d kwargs[\u0027context\u0027]"},{"line_number":1888,"context_line":"    port_id \u003d kwargs[\u0027port_id\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"7ffa3b31_2980788b","side":"PARENT","line":1885,"updated":"2017-04-14 22:07:31.000000000","message":"Using staticmethods should avoid that overhead. The problem with a decorator at the module level is that we can\u0027t make the subscription triggered at initialization time of a class like we currently do.","commit_id":"5691f29e8fd1212bb22b1a48d32dbbddf7e0587d"}]}
