-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
typing.Annotated should document the __metadata__ field #97797
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 <[email protected]> Co-authored-by: Kirill <[email protected]>
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 <[email protected]> Co-authored-by: Alex Waygood <[email protected]> Co-authored-by: Kirill <[email protected]>
miss-islington
added a commit
that referenced
this issue
Apr 10, 2023
…Alias, Annotated}` (GH-103405) (cherry picked from commit dc604a8) Co-authored-by: Nikita Sobolev <[email protected]> Co-authored-by: Alex Waygood <[email protected]> Co-authored-by: Kirill <[email protected]>
warsaw
pushed a commit
to warsaw/cpython
that referenced
this issue
Apr 11, 2023
…otatedAlias, Annotated}` (python#103405) Co-authored-by: Alex Waygood <[email protected]> Co-authored-by: Kirill <[email protected]>
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Apr 18, 2023
…otatedAlias, Annotated}` (python#103405) Co-authored-by: Alex Waygood <[email protected]> Co-authored-by: Kirill <[email protected]>
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
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 7, 2023
…105365) (cherry picked from commit e26d296) Co-authored-by: Alex Waygood <[email protected]>
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 <[email protected]>
AlexWaygood
added a commit
that referenced
this issue
Jun 7, 2023
JelleZijlstra
added a commit
that referenced
this issue
Jun 7, 2023
…. (#105449) (cherry picked from commit e26d296) Co-authored-by: Alex Waygood <[email protected]>
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
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: