Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow fields to be frozen and add strict + context support to validate_assignment #221

Merged
merged 3 commits into from Aug 11, 2022

Conversation

PrettyWood
Copy link
Member

@PrettyWood PrettyWood commented Aug 4, 2022

fix #219

@codecov
Copy link

codecov bot commented Aug 4, 2022

Codecov Report

Merging #221 (ede8506) into main (fdf42b8) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #221   +/-   ##
=======================================
  Coverage   98.66%   98.67%           
=======================================
  Files          48       48           
  Lines        5031     5043   +12     
  Branches       35       35           
=======================================
+ Hits         4964     4976   +12     
  Misses         67       67           
Impacted Files Coverage Δ
src/errors/kinds.rs 99.15% <ø> (ø)
pydantic_core/_types.py 100.00% <100.00%> (ø)
src/validators/mod.rs 98.33% <100.00%> (+0.04%) ⬆️
src/validators/typed_dict.rs 98.89% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fdf42b8...ede8506. Read the comment docs.

@PrettyWood PrettyWood marked this pull request as ready for review August 4, 2022 18:53
@PrettyWood PrettyWood changed the title feat: allow fields to be frozen feat: allow fields to be frozen and add strict + context support to validate_assignment Aug 4, 2022
@samuelcolvin
Copy link
Member

thanks so much.

@PrettyWood PrettyWood deleted the frozen-field branch August 11, 2022 12:28
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.

assignment checks and changes
2 participants