Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Rewrite serialization documentation#12018

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Viicos wants to merge6 commits intomain
base:main
Choose a base branch
Loading
fromserialization-rewrite

Conversation

Viicos
Copy link
Member

@ViicosViicos commentedJun 26, 2025
edited
Loading

Change Summary

Fixes#11491.

This aligns the serialization documentation with the previousvalidators documentation rewrite.

The diff will be unreadable so it is best to check the preview instead.

As header names were changed for the most part, fallback headings were added to avoid creating dead links.

Changes:

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

@github-actionsgithub-actionsbot added the relnotes-fixUsed for bugfixes. labelJun 26, 2025
@cloudflare-workers-and-pagesCloudflare Workers and Pages
Copy link

cloudflare-workers-and-pagesbot commentedJun 26, 2025
edited
Loading

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit:7f86019
Status: ✅  Deploy successful!
Preview URL:https://7a42ac80.pydantic-docs.pages.dev
Branch Preview URL:https://serialization-rewrite.pydantic-docs.pages.dev

View logs

@@ -695,6 +695,41 @@ Here are some additional notes on the behavior of [`model_construct()`][pydantic
not stored in `__pydantic_extra__` or `__dict__` on the instance.
* Unlike when instantiating the model with validation, a call to [`model_construct()`][pydantic.main.BaseModel.model_construct] with [`extra`][pydantic.ConfigDict.extra] set to `'forbid'` doesn't raise an error in the presence of data not corresponding to fields. Rather, said input data is simply ignored.

## Model copy
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Moved from the serialization page, I don't think model copies have any relation with serialization.

@codspeed-hqCodSpeed HQ
Copy link

codspeed-hqbot commentedJun 26, 2025
edited
Loading

CodSpeed Performance Report

Merging#12018 willnot alter performance

Comparingserialization-rewrite (7f86019) withmain (42298a0)

Summary

✅ 46 untouched benchmarks

@github-actionsGitHub Actions
Copy link
Contributor

github-actionsbot commentedJun 26, 2025
edited
Loading

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  pydantic
  functional_serializers.py
  version.py
Project Total 

This report was generated bypython-coverage-comment-action

@ViicosViicosforce-pushed theserialization-rewrite branch from899a34a to29f7e03CompareJune 26, 2025 09:47
@ViicosViicos added documentation and removed relnotes-fixUsed for bugfixes. labelsJun 26, 2025
Copy link
Contributor

@sydney-runklesydney-runkle left a comment

Choose a reason for hiding this comment

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

WOW!! This looks great@Viicos, thanks for all of your work on improving these highly trafficked conceptual docs.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@sydney-runklesydney-runklesydney-runkle left review comments

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Rewrite serialization conceptual docs
2 participants
@Viicos@sydney-runkle

[8]ページ先頭

©2009-2025 Movatter.jp