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

Make dataclasses frozen, and Parameters an immutable mapping #19

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

jlaine
Copy link
Contributor

@jlaine jlaine commented Jun 12, 2024

Having immutable objecs avoids many footguns by making it impossible to perform updates on shared object instances.

@codecov-commenter
Copy link

codecov-commenter commented Jun 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (afd7d12) to head (010fdc3).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #19   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          247       268   +21     
=========================================
+ Hits           247       268   +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Having immutable objecs avoids many footguns by making it impossible to
perform updates on shared object instances.
@jlaine jlaine force-pushed the immutable-dataclasses branch from 8a63bd0 to 639e356 Compare June 12, 2024 11:02
jlaine added 2 commits June 12, 2024 13:49
The docstring erroneously referred to `Address`.
@jlaine jlaine merged commit f8d48db into main Jun 12, 2024
5 checks passed
@jlaine jlaine deleted the immutable-dataclasses branch June 12, 2024 11:52
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.

2 participants