Skip to content

streamable: Fix default value assignments for dataclass_from_dict #11732

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

Merged

Conversation

xdustinface
Copy link
Contributor

This fixes default value assignments after #10561. See the new test in c539809db49e1d0d781b3abda0fc70ede50ca2ef failing without a85be6d72f9b6e9ccb9d462b1bb2c7a590dc6418. But this also leads to worse performance due to __post_init__ being called which at least gets mitigated by #11730.

@xdustinface xdustinface requested review from altendky and mariano54 June 1, 2022 17:10
@xdustinface xdustinface marked this pull request as draft June 2, 2022 08:49
@github-actions github-actions bot added the merge_conflict Branch has conflicts that prevent merge to main label Jun 2, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2022

This pull request has conflicts, please resolve those before we can evaluate the pull request.

This fixes default value assignments after Chia-Network#10561 but also leads to less perfomance due to `__post_init__` being called which at least gets mitigated by Chia-Network#11730.
@xdustinface xdustinface force-pushed the pr-streamable-fix-dataclass-from-dict branch from c539809 to c8ff558 Compare June 3, 2022 08:47
@github-actions github-actions bot removed the merge_conflict Branch has conflicts that prevent merge to main label Jun 3, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jun 3, 2022

Conflicts have been resolved. A maintainer will review the pull request shortly.

@xdustinface xdustinface marked this pull request as ready for review June 3, 2022 08:49
@xdustinface xdustinface linked an issue Jun 3, 2022 that may be closed by this pull request
arvidn
arvidn previously approved these changes Jun 3, 2022
@xdustinface xdustinface added the ready_to_merge Submitter and reviewers think this is ready label Jun 3, 2022
Copy link
Contributor

@wjblanke wjblanke left a comment

Choose a reason for hiding this comment

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

aok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready_to_merge Submitter and reviewers think this is ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Chia Farmer not showing plots all betas not showing
4 participants