{"action":"created","issue":{"url":"https://api.github.com/repos/celery/celery/issues/4588","repository_url":"https://api.github.com/repos/celery/celery","labels_url":"https://api.github.com/repos/celery/celery/issues/4588/labels{/name}","comments_url":"https://api.github.com/repos/celery/celery/issues/4588/comments","events_url":"https://api.github.com/repos/celery/celery/issues/4588/events","html_url":"https://github.com/celery/celery/pull/4588","id":304047075,"number":4588,"title":"Teach autodoc to document tasks if undoc-members is not set","user":{"login":"lpsinger","id":728407,"avatar_url":"https://avatars2.githubusercontent.com/u/728407?v=4","gravatar_id":"","url":"https://api.github.com/users/lpsinger","html_url":"https://github.com/lpsinger","followers_url":"https://api.github.com/users/lpsinger/followers","following_url":"https://api.github.com/users/lpsinger/following{/other_user}","gists_url":"https://api.github.com/users/lpsinger/gists{/gist_id}","starred_url":"https://api.github.com/users/lpsinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpsinger/subscriptions","organizations_url":"https://api.github.com/users/lpsinger/orgs","repos_url":"https://api.github.com/users/lpsinger/repos","events_url":"https://api.github.com/users/lpsinger/events{/privacy}","received_events_url":"https://api.github.com/users/lpsinger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-10T06:33:11Z","updated_at":"2018-03-10T07:15:58Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/celery/celery/pulls/4588","html_url":"https://github.com/celery/celery/pull/4588","diff_url":"https://github.com/celery/celery/pull/4588.diff","patch_url":"https://github.com/celery/celery/pull/4588.patch"},"body":"Celery tasks created with the @task decorator have the property that `obj.__doc__` and `obj.__class__.__doc__` are equal, which trips up the logic in `sphinx.ext.autodoc` that is supposed to suppress repetition of class documentation in an instance of the class. We have to override that behavior so that autodoc picks up tasks whether or not autodoc's `undoc-members` flag is set.\r\n\r\nBecause autodoc really works now, we also have to correctly check that the task was defined in the current module!\r\n\r\nFixes #4587."},"comment":{"url":"https://api.github.com/repos/celery/celery/issues/comments/372009345","html_url":"https://github.com/celery/celery/pull/4588#issuecomment-372009345","issue_url":"https://api.github.com/repos/celery/celery/issues/4588","id":372009345,"user":{"login":"codecov[bot]","id":22429695,"avatar_url":"https://avatars2.githubusercontent.com/in/254?v=4","gravatar_id":"","url":"https://api.github.com/users/codecov%5Bbot%5D","html_url":"https://github.com/apps/codecov","followers_url":"https://api.github.com/users/codecov%5Bbot%5D/followers","following_url":"https://api.github.com/users/codecov%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codecov%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codecov%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codecov%5Bbot%5D/repos","events_url":"https://api.github.com/users/codecov%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codecov%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-03-10T07:15:58Z","updated_at":"2018-03-10T07:15:58Z","author_association":"NONE","body":"# [Codecov](https://codecov.io/gh/celery/celery/pull/4588?src=pr&el=h1) Report\n> Merging [#4588](https://codecov.io/gh/celery/celery/pull/4588?src=pr&el=desc) into [master](https://codecov.io/gh/celery/celery/commit/339dba04bbbbddce4a9b6a862ae79434d6a221c1?src=pr&el=desc) will **not change** coverage.\n> The diff coverage is `n/a`.\n\n[![Impacted file tree graph](https://codecov.io/gh/celery/celery/pull/4588/graphs/tree.svg?width=650&src=pr&token=hOkjyacuU9&height=150)](https://codecov.io/gh/celery/celery/pull/4588?src=pr&el=tree)\n\n```diff\n@@           Coverage Diff           @@\n##           master    #4588   +/-   ##\n=======================================\n  Coverage   82.62%   82.62%           \n=======================================\n  Files         140      140           \n  Lines       15897    15897           \n  Branches     1983     1983           \n=======================================\n  Hits        13135    13135           \n  Misses       2567     2567           \n  Partials      195      195\n```\n\n\n\n------\n\n[Continue to review full report at Codecov](https://codecov.io/gh/celery/celery/pull/4588?src=pr&el=continue).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)\n> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`\n> Powered by [Codecov](https://codecov.io/gh/celery/celery/pull/4588?src=pr&el=footer). Last update [339dba0...0c7f382](https://codecov.io/gh/celery/celery/pull/4588?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).\n"}}
{"actor":{"display_login":"codecov"}}