-
-
Notifications
You must be signed in to change notification settings - Fork 32k
typing.Annotated should document the __metadata__ field #97797
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
Labels
Comments
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Apr 10, 2023
…otatedAlias, Annotated}`
AlexWaygood
added a commit
that referenced
this issue
Apr 10, 2023
…Alias, Annotated}` (#103405) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Kirill <80244920+Eclips4@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Apr 10, 2023
…otatedAlias, Annotated}` (pythonGH-103405) (cherry picked from commit dc604a8) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Kirill <80244920+Eclips4@users.noreply.github.com>
warsaw
pushed a commit
to warsaw/cpython
that referenced
this issue
Apr 11, 2023
…otatedAlias, Annotated}` (python#103405) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Kirill <80244920+Eclips4@users.noreply.github.com>
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Apr 18, 2023
…otatedAlias, Annotated}` (python#103405) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Kirill <80244920+Eclips4@users.noreply.github.com>
AlexWaygood
added a commit
to AlexWaygood/cpython
that referenced
this issue
Jun 6, 2023
JelleZijlstra
pushed a commit
that referenced
this issue
Jun 7, 2023
JelleZijlstra
pushed a commit
to JelleZijlstra/cpython
that referenced
this issue
Jun 7, 2023
…thonGH-105365). (cherry picked from commit e26d296) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
AlexWaygood
added a commit
that referenced
this issue
Jun 7, 2023
JelleZijlstra
added a commit
that referenced
this issue
Jun 7, 2023
Now documented in the docstring and in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Both
help(typing.Annotated)
andhelp(typing._AnnotatedAlias)
should document the__metadata__
field; based on the comments in #89543 the field was meant to be public but was inadvertently omitted from the PEP and documentation.Linked PRs
__metadata__
in docstrings oftyping.{_AnnotatedAlias, Annotated}
#103405__metadata__
in docstrings oftyping.{_AnnotatedAlias, Annotated}
(GH-103405) #103413The text was updated successfully, but these errors were encountered: