{"action":"created","issue":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3686","labels_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3686/labels{/name}","comments_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3686/comments","events_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3686/events","html_url":"https://github.com/tomchristie/django-rest-framework/issues/3686","id":119784302,"number":3686,"title":"Upgrade from v2 to v3 causes a lot of linter warnings - \"must implement all abstract methods\"","user":{"login":"rschwiebert","id":8643352,"avatar_url":"https://avatars.githubusercontent.com/u/8643352?v=3","gravatar_id":"","url":"https://api.github.com/users/rschwiebert","html_url":"https://github.com/rschwiebert","followers_url":"https://api.github.com/users/rschwiebert/followers","following_url":"https://api.github.com/users/rschwiebert/following{/other_user}","gists_url":"https://api.github.com/users/rschwiebert/gists{/gist_id}","starred_url":"https://api.github.com/users/rschwiebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschwiebert/subscriptions","organizations_url":"https://api.github.com/users/rschwiebert/orgs","repos_url":"https://api.github.com/users/rschwiebert/repos","events_url":"https://api.github.com/users/rschwiebert/events{/privacy}","received_events_url":"https://api.github.com/users/rschwiebert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/labels/Needs%20information","name":"Needs information","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-01T19:01:25Z","updated_at":"2015-12-02T14:43:40Z","closed_at":"2015-12-02T10:06:43Z","body":"After switching to DRF 3.3.0 from 2.4.4, I am suddenly getting a lot of \"must implement all abstract methods\" warnings from PyCharm's linter. (They were not there when using 2.4.4.)\r\n\r\nThey are occurring on every ModelSerializer object we have. The serializers are not particularly complicated: nearly all of them match the example in the serializers documentation:\r\n\r\nclass AccountSerializer(serializers.ModelSerializer):\r\n    class Meta:\r\n        model = Account\r\n        fields = ('id', 'account_name', 'users', 'created')\r\n\r\nI thought that the linter might be triggered by NotImplemented exceptions, but the source code seems to eliminate that theory.\r\n\r\nI'm not sure that this adversely affects functionality, but I figured I should ask, because it is a marked change in the analysis of the code."},"comment":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/comments/161319295","html_url":"https://github.com/tomchristie/django-rest-framework/issues/3686#issuecomment-161319295","issue_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3686","id":161319295,"user":{"login":"rschwiebert","id":8643352,"avatar_url":"https://avatars.githubusercontent.com/u/8643352?v=3","gravatar_id":"","url":"https://api.github.com/users/rschwiebert","html_url":"https://github.com/rschwiebert","followers_url":"https://api.github.com/users/rschwiebert/followers","following_url":"https://api.github.com/users/rschwiebert/following{/other_user}","gists_url":"https://api.github.com/users/rschwiebert/gists{/gist_id}","starred_url":"https://api.github.com/users/rschwiebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschwiebert/subscriptions","organizations_url":"https://api.github.com/users/rschwiebert/orgs","repos_url":"https://api.github.com/users/rschwiebert/repos","events_url":"https://api.github.com/users/rschwiebert/events{/privacy}","received_events_url":"https://api.github.com/users/rschwiebert/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T14:43:40Z","updated_at":"2015-12-02T14:43:40Z","body":"@dimitrovskif @tomchristie The version of django is 1.7.7, and the version of Python is 3.4.3.\r\n\r\n`import rest_framework; print(rest_framework.__file__)` results in `/var/opt/www/venv/lib/python3.4/site-packages/rest_framework/__init__.py`\r\n\r\n`rest_framework.VERSION` results in `'3.3.0'`, and ModelSerializer is imported directly from rest_framework.serializers in all locations.\r\n\r\nThere is no traceback, only this PyCharm linter warning. I'm attaching a screenshot of what I see.\r\n\r\nI don't know what you mean by 'check pip,' but let me say that I am working on a virtual machine provisioned by a Chef recipe. All manual inspections confirm that the versions I've specified are those in use.\r\n\r\nPerhaps I should also drop PyCharm a line and start them checking if it is a bug in their linter code. It's curious though that this only happened after upgrading DRF.\r\n![screenshot 2015-12-02 09 41 16](https://cloud.githubusercontent.com/assets/8643352/11533721/28fe8c52-98d9-11e5-84e5-4715e9202b2a.png)\r\n"}}