Skip to content
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

Fix typo in docs for new private dunder pydantic method names #7657

Merged

Conversation

austinorr
Copy link
Contributor

@austinorr austinorr commented Sep 27, 2023

Change Summary

Relatively trivial docs change to indicate new naming convention for dunder methods. Current docs don't match the methods listed in the table since the regex in the narrative includes more wildcards than the actually used convention.

  • My PR is ready to review

Selected Reviewer: @davidhewitt

@austinorr
Copy link
Contributor Author

please review

@hramezani hramezani added the relnotes-ignore Omit this PR from the release notes. label Sep 27, 2023
@hramezani
Copy link
Member

Thanks @austinorr

@hramezani hramezani merged commit 24e9222 into pydantic:main Sep 27, 2023
59 of 61 checks passed
@samuelcolvin
Copy link
Member

I'm not sure this is really correct - we have __get_pydantic_core_schema__.

@hramezani
Copy link
Member

I'm not sure this is really correct - we have __get_pydantic_core_schema__.

Ah, you are right. just created a revert PR #7662

Sorry for that!

@austinorr austinorr deleted the Patch-docs-typo-in-dunder-method-names branch September 28, 2023 23:08
@austinorr
Copy link
Contributor Author

I'm not sure this is really correct - we have __get_pydantic_core_schema__.

Ah, you are right. just created a revert PR #7662

Sorry for that!

My mistake all, thanks for the quick responses and very sorry for the extra noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review relnotes-ignore Omit this PR from the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants