Skip to content

Conversation

@lig
Copy link
Contributor

@lig lig commented Aug 28, 2023

Change Summary

Enforce behavior of private attributes having double leading underscore using a test

Related issue number

Fix #4833

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @samuelcolvin

@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 18f3e52
Status: ✅  Deploy successful!
Preview URL: https://72bdf70f.pydantic-docs2.pages.dev
Branch Preview URL: https://lig-4833.pydantic-docs2.pages.dev

View logs

@lig lig marked this pull request as ready for review August 28, 2023 12:37
@lig
Copy link
Contributor Author

lig commented Aug 28, 2023

please review

@hramezani hramezani merged commit 132a90c into main Sep 11, 2023
@hramezani hramezani deleted the lig/4833 branch September 11, 2023 07:31
@davidhewitt davidhewitt added the relnotes-fix Used for bugfixes. label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Private fields in python use dunder prefix, not __name__ pattern

5 participants