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

Fix JSON Schema reference collection with"examples" keys#11325

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
Viicos merged 1 commit intov2.10-patchesfrombackport-11305
Jan 23, 2025

Conversation

Viicos
Copy link
Member

Change Summary

Backport of#11305.

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. labelJan 23, 2025
@cloudflare-workers-and-pagesCloudflare Workers and Pages

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit:672e369
Status: ✅  Deploy successful!
Preview URL:https://81b33700.pydantic-docs.pages.dev
Branch Preview URL:https://backport-11305.pydantic-docs.pages.dev

View logs

@codspeed-hqCodSpeed HQ
Copy link

CodSpeed Performance Report

Merging#11325 willdegrade performances by 29.82%

Comparingbackport-11305 (672e369) withmain (14d14b0)

🎉 Hooray!pytest-codspeed just leveled up to 2.2.1!

A heads-up, this is abreaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit ourreleases page to delve into all the awesome details about this new version.

Summary

❌ 35 regressions
✅ 8 untouched benchmarks
⁉️ 2 dropped benchmarks

⚠️Please fix the performance issues oracknowledge them on CodSpeed.

Benchmarks breakdown

BenchmarkBASEHEADChange
⁉️test_getattr54.4 µsN/AN/A
⁉️test_setattr86.1 µsN/AN/A
test_schema_build2.9 ms3.3 ms-13.46%
test_fastapi_startup_perf200.1 ms250.6 ms-20.14%
test_fastapi_startup_perf26.2 ms30.6 ms-14.44%
test_complex_model_schema_generation1.8 ms2.6 ms-29.82%
test_construct_dataclass_schema1.8 ms2.2 ms-16.79%
test_lots_of_models_with_lots_of_fields2.7 s3.3 s-19.09%
test_model_validators_serializers906.8 µs1,033.7 µs-12.27%
test_nested_model_schema_generation1.1 ms1.3 ms-11.2%
test_recursive_model_schema_generation1 ms1.3 ms-18.94%
test_simple_model_schema_generation746.6 µs893.6 µs-16.46%
test_simple_model_schema_lots_of_fields_generation28.5 ms38.5 ms-25.83%
test_tagged_union_with_callable_discriminator_schema_generation1.5 ms1.9 ms-24.12%
test_tagged_union_with_str_discriminator_schema_generation1.5 ms1.8 ms-12.74%
test_deeply_nested_recursive_model_schema_generation1.3 ms1.5 ms-13.6%
test_generic_recursive_model_schema_generation896.9 µs1,063.6 µs-15.68%
test_nested_recursive_generic_model_schema_generation1.7 ms2.2 ms-21.62%
test_nested_recursive_model_schema_generation1.8 ms2.2 ms-16.35%
test_recursive_discriminated_union_with_base_model1.7 ms2 ms-14%
...............

ℹ️Only the first 20 benchmarks are displayed.Go to the app to view all benchmarks.

@github-actionsGitHub Actions
Copy link
Contributor

Coverage report

Click to see where and how coverage changed

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

This report was generated bypython-coverage-comment-action

@ViicosViicos merged commitf94e842 intov2.10-patchesJan 23, 2025
54 of 55 checks passed
@ViicosViicos deleted the backport-11305 branchJanuary 23, 2025 15:46
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
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.

1 participant
@Viicos

[8]ページ先頭

©2009-2025 Movatter.jp