)]}'
{"nova/api/validation/__init__.py":[{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"991034754f33a81c32b8eef99a2b8c71f72ac84c","unresolved":false,"context_lines":[{"line_number":39,"context_line":"            max_ver \u003d api_version.APIVersionRequest(max_version)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"            ver \u003d req.api_version_request"},{"line_number":42,"context_line":"            legacy_v2 \u003d req.is_legacy_v2()"},{"line_number":43,"context_line":"            if ver.matches(min_ver, max_ver):"},{"line_number":44,"context_line":"                # Only validate against the schema if it lies within"},{"line_number":45,"context_line":"                # the version range specified. Note that if both min"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_2e48e5cb","line":42,"updated":"2015-08-15 17:03:35.000000000","message":"Emm.....The reality is different, https://github.com/openstack/nova/blob/master/nova/api/openstack/wsgi.py#L920","commit_id":"33a09d8ccf1d1a4b3a91c8b78e272bada34e54b1"},{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"d14d436da7797b2e9ffb08c216038398426776ea","unresolved":false,"context_lines":[{"line_number":39,"context_line":"            max_ver \u003d api_version.APIVersionRequest(max_version)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"            ver \u003d req.api_version_request"},{"line_number":42,"context_line":"            legacy_v2 \u003d req.is_legacy_v2()"},{"line_number":43,"context_line":"            if ver.matches(min_ver, max_ver):"},{"line_number":44,"context_line":"                # Only validate against the schema if it lies within"},{"line_number":45,"context_line":"                # the version range specified. Note that if both min"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa1b9901_0b6e692f","line":42,"in_reply_to":"1a4dcd0f_2e48e5cb","updated":"2015-08-18 02:12:33.000000000","message":"Do u mean the first argument is not always `self`, because the `method` may be a function rather than class method?\n\nIf so, I found that the method is just the Resource class\u0027s method[0] . It should be ok that assume the self is the first argument always.\n\n[0] https://github.com/openstack/nova/blob/master/nova/api/openstack/wsgi.py#L894","commit_id":"33a09d8ccf1d1a4b3a91c8b78e272bada34e54b1"}]}
