Skip to content

Conversation

Viicos
Copy link
Member

@Viicos Viicos commented Dec 30, 2024

Best reviewed commit per commit.

Reword relevant docstrings and comments.

Fixes #11031.
Fixes #9782.

Change Summary

Related issue number

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

Reword relevant docstrings and comments.
Copy link

cloudflare-workers-and-pages bot commented Dec 30, 2024

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 308670a
Status: ✅  Deploy successful!
Preview URL: https://bea518c3.pydantic-docs.pages.dev
Branch Preview URL: https://pep695-support.pydantic-docs.pages.dev

View logs

@github-actions github-actions bot added the relnotes-fix Used for bugfixes. label Dec 30, 2024
It was added for coverage purposes, but is fragile because
it tests the implementation, not the functionality. As a
consequence, it broke with the added logic in
`parent_frame_namespace`.

`test_module_ns_is_none` was rewritten to be self-contained.
Copy link

codspeed-hq bot commented Dec 30, 2024

CodSpeed Performance Report

Merging #11189 will not alter performance

Comparing pep695-support (308670a) with main (cfd4c9f)

Summary

✅ 46 untouched benchmarks

Copy link
Contributor

github-actions bot commented Dec 30, 2024

Coverage report

This PR does not seem to contain any modification to coverable code.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best to be reviewed visually. The example was simplified a bit (avoid using lists, etc)

@sydney-runkle sydney-runkle added topic-type checking Related to type checking relnotes-feature and removed relnotes-fix Used for bugfixes. labels Dec 30, 2024
Copy link
Contributor

@sydney-runkle sydney-runkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New docs look great. I left a few minor requests for changes.

I'm impressed that the diff is this minimal for supporting this syntax!

@Viicos Viicos enabled auto-merge (squash) December 30, 2024 16:47
@Viicos Viicos merged commit ce8fd28 into main Dec 30, 2024
56 checks passed
@Viicos Viicos deleted the pep695-support branch December 30, 2024 16:51
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.

"Foo is not fully defined; you should define T" error when using new generic syntax with dataclass Add full support for PEP 695 like syntax
2 participants