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

More transformer v2 refactoring #696

Merged
merged 4 commits into from
Aug 3, 2023
Merged

More transformer v2 refactoring #696

merged 4 commits into from
Aug 3, 2023

Conversation

major
Copy link
Member

@major major commented Jul 27, 2023

This brings the other transformers in line with yesterday's update and also extracts the entry filtering to its own method.

@major major requested a review from miyunari July 27, 2023 14:50
@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.50% 🎉

Comparison is base (aade645) 93.10% compared to head (f9c0540) 93.60%.

❗ Current head f9c0540 differs from pull request most recent head 913dae2. Consider uploading reports for the commit 913dae2 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #696      +/-   ##
==========================================
+ Coverage   93.10%   93.60%   +0.50%     
==========================================
  Files           9        9              
  Lines         551      532      -19     
  Branches      116      110       -6     
==========================================
- Hits          513      498      -15     
+ Misses         20       18       -2     
+ Partials       18       16       -2     
Files Changed Coverage Δ
src/cloudimagedirectory/transform/transform.py 91.77% <100.00%> (+0.72%) ⬆️

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

@major major force-pushed the transformer-refactor branch 3 times, most recently from 82ea91e to fbe7fc6 Compare July 27, 2023 19:08
@major major force-pushed the transformer-refactor branch 2 times, most recently from f9c0540 to ea65c35 Compare July 31, 2023 12:30
@F-X64
Copy link
Member

F-X64 commented Aug 1, 2023

LGTM but I'll leave the final judgement to @miyunari ;)
Deployed the branch on staging for testing and it seems to run as expected:
https://github.com/redhatcloudx/transformer/actions/runs/5723343231/job/15507786157

We only use DataEntry from the connection module, so just import it and
use it directly to reduce typing.

Signed-off-by: Major Hayden <major@redhat.com>
Copy link
Member

@miyunari miyunari left a comment

Choose a reason for hiding this comment

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

Yes looks great! Thanks @major ❤️

@miyunari miyunari merged commit 4317cd5 into main Aug 3, 2023
5 of 6 checks passed
@miyunari miyunari deleted the transformer-refactor branch August 3, 2023 09:57
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.

None yet

3 participants