{"action":"opened","issue":{"url":"https://api.github.com/repos/Yelp/bravado/issues/246","repository_url":"https://api.github.com/repos/Yelp/bravado","labels_url":"https://api.github.com/repos/Yelp/bravado/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/Yelp/bravado/issues/246/comments","events_url":"https://api.github.com/repos/Yelp/bravado/issues/246/events","html_url":"https://github.com/Yelp/bravado/issues/246","id":173075482,"number":246,"title":"Bravado decorators hide SwaggerClient.get_model()","user":{"login":"bxm156","id":136036,"avatar_url":"https://avatars.githubusercontent.com/u/136036?v=3","gravatar_id":"","url":"https://api.github.com/users/bxm156","html_url":"https://github.com/bxm156","followers_url":"https://api.github.com/users/bxm156/followers","following_url":"https://api.github.com/users/bxm156/following{/other_user}","gists_url":"https://api.github.com/users/bxm156/gists{/gist_id}","starred_url":"https://api.github.com/users/bxm156/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bxm156/subscriptions","organizations_url":"https://api.github.com/users/bxm156/orgs","repos_url":"https://api.github.com/users/bxm156/repos","events_url":"https://api.github.com/users/bxm156/events{/privacy}","received_events_url":"https://api.github.com/users/bxm156/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-24T22:44:00Z","updated_at":"2016-08-24T22:44:00Z","closed_at":null,"body":"When using a bravado client wrapper with some of the bravado decorators, I'm unable to access my models:\r\n\r\n```\r\ndecorated_client.get_model('MyModel')\r\n*** TypeError: 'ZipkinResourceDecorator' object is not callable\r\n```\r\n\r\nI would have to go all the way up the stack to access this function (I'm using 3 decorators here):\r\n```\r\n# I can access it via:\r\ndecorated_client.client.client.get_model\r\n<bound method SwaggerClient.get_model of SwaggerClient(http://localhost:13895/)>\r\n\r\n# But not directly \r\ndecorated_client.get_model\r\n<bravado_decorators.zipkin_decorator.ZipkinResourceDecorator object at 0x7f421231dbe0>\r\n```\r\n"}}
{"actor":{"display_login":"bxm156"}}