Skip to content

TYP,DOC: Annotate and document the metadata parameter of the dtype constructor#23887

Merged
charris merged 2 commits intonumpy:mainfrom
BvB93:metadata
Jun 6, 2023
Merged

TYP,DOC: Annotate and document the metadata parameter of the dtype constructor#23887
charris merged 2 commits intonumpy:mainfrom
BvB93:metadata

Conversation

@BvB93
Copy link
Copy Markdown
Member

@BvB93 BvB93 commented Jun 6, 2023

Closes #23886

Adds annotations and documentation for the metadata parameter of the dtype constructor. While there was previously documentation on the dtype.metadata attribute, there was no mention of it being an accepted parameter for the actual constructor itself (even though it's been there for ages).

@BvB93 BvB93 added this to the 1.25.0 release milestone Jun 6, 2023
@charris charris merged commit 95343a3 into numpy:main Jun 6, 2023
@charris
Copy link
Copy Markdown
Member

charris commented Jun 6, 2023

Thanks Bas.

@BvB93 BvB93 deleted the metadata branch June 6, 2023 13:02
@kmuehlbauer
Copy link
Copy Markdown

Amazing! 🎉 Under 4 hours from reporting to merge into main. Thanks!

@charris charris changed the title TYP,DOC Annotate and document the metadata parameter of the dtype constructor TYP,DOC: Annotate and document the metadata parameter of the dtype constructor Jun 6, 2023
@charris charris modified the milestones: 1.25.0 release, 1.24.4 release Jun 6, 2023
@charris charris removed this from the 1.24.4 release milestone Jun 6, 2023
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: typing overload missing for dtype-creation with metadata

3 participants