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

Warn if configuration is specified on the@dataclass decorator and with the__pydantic_config__ attribute#10406

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

Merged
sydney-runkle merged 4 commits intomainfromdataclass-config
Sep 13, 2024

Conversation

sydney-runkle
Copy link
Contributor

Closes#10371

@github-actionsgithub-actionsbot added the relnotes-fixUsed for bugfixes. labelSep 13, 2024
@cloudflare-workers-and-pagesCloudflare Workers and Pages
Copy link

cloudflare-workers-and-pagesbot commentedSep 13, 2024
edited
Loading

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit:51b2589
Status: ✅  Deploy successful!
Preview URL:https://8fde8074.pydantic-docs.pages.dev
Branch Preview URL:https://dataclass-config.pydantic-docs.pages.dev

View logs

@codspeed-hqCodSpeed HQ
Copy link

codspeed-hqbot commentedSep 13, 2024
edited
Loading

CodSpeed Performance Report

Merging#10406 willnot alter performance

Comparingdataclass-config (51b2589) withmain (656481f)

Summary

✅ 49 untouched benchmarks

@github-actionsGitHub Actions
Copy link
Contributor

Coverage report

Click to see where and how coverage changed

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

This report was generated bypython-coverage-comment-action

@ViicosViicos changed the titledisallow double config onpydantic.dataclassesWarn if configuration is specified on the@dataclass decorator and with the__pydantic_config__ attributeSep 13, 2024
sydney-runkleand others added2 commitsSeptember 13, 2024 11:56
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
@sydney-runklesydney-runkle merged commitee09d11 intomainSep 13, 2024
61 checks passed
@sydney-runklesydney-runkle deleted the dataclass-config branchSeptember 13, 2024 17:31
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ViicosViicosViicos approved these changes

Assignees
No one assigned
Labels
relnotes-fixUsed for bugfixes.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Only support one config specification location in pydanticdataclasses
2 participants
@sydney-runkle@Viicos

[8]ページ先頭

©2009-2025 Movatter.jp