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

[Merged by Bors] - refactor(smartengine): reuse code for transforms except agg #3122

Closed
wants to merge 5 commits into from

Conversation

xxchan
Copy link
Contributor

@xxchan xxchan commented Apr 5, 2023

All transforms except agg shares the same code, so this PR unifies them into one shared implementation. By the way, in smartmodule-derive, all these transforms except agg shares the same implementation via generate_transform, so I think it also makes sense to reuse code in smartengine.

@xxchan
Copy link
Contributor Author

xxchan commented Apr 5, 2023

image

Hmmm, why do we need to bump version for such change? 👀

@sehz
Copy link
Contributor

sehz commented Apr 5, 2023

Just need patch version

@xxchan
Copy link
Contributor Author

xxchan commented Apr 6, 2023

@sehz PTAL

@sehz sehz requested a review from galibey April 6, 2023 17:32
@xxchan xxchan requested a review from sehz April 6, 2023 18:04
@xxchan xxchan requested a review from sehz April 6, 2023 18:26
@xxchan xxchan requested a review from sehz April 6, 2023 18:36
Copy link
Contributor

@sehz sehz left a comment

Choose a reason for hiding this comment

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

LGTM. Nice simplification

@sehz
Copy link
Contributor

sehz commented Apr 6, 2023

bors r+

bors bot pushed a commit that referenced this pull request Apr 6, 2023
All transforms except agg shares the same code, so this PR unifies them into one shared implementation. By the way, in `smartmodule-derive`, all these transforms except agg shares the same implementation via `generate_transform`, so I think it also makes sense to reuse code in smartengine.
@bors
Copy link

bors bot commented Apr 6, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(smartengine): reuse code for transforms except agg [Merged by Bors] - refactor(smartengine): reuse code for transforms except agg Apr 6, 2023
@bors bors bot closed this Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants