Skip to content

Conversation

@shilenpatel1
Copy link
Contributor

No description provided.


def reports
@reports ||= irs_verification_report.as_emailable_reports
def reports(issuers, agency_abbreviation)
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

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

@astrogeco
Copy link
Contributor

Reference the other PR here please


def reports
@reports ||= irs_verification_report.as_emailable_reports
def reports(issuers, agency_abbreviation)
Copy link
Contributor

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

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.

3 participants