Skip to content

Conversation

@davidhewitt
Copy link
Contributor

Change Summary

Classic use of .unwrap() not being what we want! 😬

Related issue number

Fixes #1516

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

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 4, 2024

CodSpeed Performance Report

Merging #1532 will not alter performance

Comparing dh/validate-assigment-crash (c554f08) with main (815d224)

Summary

✅ 155 untouched benchmarks

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.

Nice fix, thanks!

@sydney-runkle sydney-runkle merged commit 4cb82bf into main Nov 5, 2024
29 checks passed
@sydney-runkle sydney-runkle deleted the dh/validate-assigment-crash branch November 5, 2024 16:08
davidhewitt added a commit to pydantic/pydantic that referenced this pull request Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rust stacktraces and panics with validate_assignment and custom fields

3 participants