-
Notifications
You must be signed in to change notification settings - Fork 163
Commit to see diff with orginal IRS report #12742
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
base: main
Are you sure you want to change the base?
Commit to see diff with orginal IRS report #12742
Conversation
|
|
||
| def reports | ||
| @reports ||= irs_verification_report.as_emailable_reports | ||
| def reports(issuers, agency_abbreviation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we getting rid of memoization here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was causing an issue. When I was testing it for multiple configs, it was using first created one for the second config as well, and becasue of that both reports were showing the same issuers in the report
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that makes sense, there might be a smarter way to do it without completely getting rid of the memoization. Although I wonder if the performance savings is worth it
|
Reference the other PR here please |
|
|
||
| def reports | ||
| @reports ||= irs_verification_report.as_emailable_reports | ||
| def reports(issuers, agency_abbreviation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that makes sense, there might be a smarter way to do it without completely getting rid of the memoization. Although I wonder if the performance savings is worth it
No description provided.