-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat(ingestion): add ability to exclude archived mode reports. #14978
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: master
Are you sure you want to change the base?
feat(ingestion): add ability to exclude archived mode reports. #14978
Conversation
Bundle ReportChanges will decrease total bundle size by 38 bytes (-0.0%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: datahub-react-web-esmAssets Changed:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
reports_page = [ | ||
report | ||
for report in reports_page | ||
if report["archived"] is False |
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.
Can we use report.get("archived")
to ensure it won't fail even if the key doesn't exist?
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.
@treff7es Addressed review comment
Addressed review comments Co-authored-by: Tamas Nemeth <[email protected]>
No description provided.