-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Task]: Make pydoc docstring reflecting deprecated and experimental API #22265
Comments
.add-labels website |
Label website |
@damccorm do you know the right command by chance? |
Label cannot cannot be managed because it does not exist in the repo. Please check your spelling. |
Hm, I think the bot doesn't handle new lines correctly. Moving it to one line will probably resolve it? I'll check: .add-labels website .remove-labels core,'awaiting triage' |
(to be clear, this is a bug that should be fixed) |
Oh, there may also be an ordering issue with multiple commands? Idk, I'll look into it, I filed #22269 .add-labels website |
.add-labels website |
I see. thanks for looking into it! |
.add-labels "good first issue" |
Label "good cannot be managed because it does not exist in the repo. Please check your spelling. |
.add-labels good_first_issue |
Label good_first_issue cannot be managed because it does not exist in the repo. Please check your spelling. |
.add-labels 'good first issue' |
What needs to happen?
When
@deprecated()
and@experimental()
decorators are used, it may be possible to also alter docstring(__doc__)
so that it is reflected in autogenerated sphinx docs. Similar to that TF is doing this here: https://github.com/tensorflow/tensorflow/blob/e4dbcc5732be1914b5dad205c2b1eabc040aafc4/tensorflow/python/util/deprecation.py#L372Issue Priority
Priority: 2
Issue Component
Component: sdk-py-core
The text was updated successfully, but these errors were encountered: