Skip to content

Conversation

@weiliddat
Copy link
Contributor

@weiliddat weiliddat commented Apr 18, 2025

Change Summary

  • Keep fields_set_count state when validating submodels

Related issue number

Fixes pydantic/pydantic#11752

Checklist

  • Unit tests for the changes exist
  • Documentation reflects the changes where applicable
  • Pydantic tests pass with this pydantic-core (except for expected changes)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @davidhewitt

@weiliddat
Copy link
Contributor Author

please review

@codspeed-hq
Copy link

codspeed-hq bot commented Apr 18, 2025

CodSpeed Performance Report

Merging #1700 will not alter performance

Comparing weiliddat:fix/wrap-validator-smart-union (c697525) with main (334a9b0)

Summary

✅ 157 untouched benchmarks

@weiliddat weiliddat requested a review from Viicos April 25, 2025 18:00
@weiliddat
Copy link
Contributor Author

Just a ping in case it slipped your notifications @Viicos @davidhewitt

Copy link
Contributor

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

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

Thanks, sorry for the delay!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WrapValidator annotation changes smart union score

3 participants