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

DM-21098: Isolate outdated Gen 3 methods in gen2tasks #55

Merged
merged 8 commits into from Oct 7, 2019

Conversation

kfindeisen
Copy link
Member

MetricTask's original API handled the task inputs using an emulation of the original Gen 3 PipelineTask API, on the assumption that it would streamline migration to Gen 3. Now that the Gen 3 API has changed, these methods are merely quirks of the Gen 2 implementation.

This PR removes all references to gen2tasks.MetricTask.adaptArgsAndRun and gen2tasks.MetricTask.getInputDatasetTypes outside of the gen2tasks package. This makes subtasks easy to migrate to Gen 3 again (except for PpdbMetricTask, which will require a specialization of runQuantum that can't be tested yet).

This PR also improves the test framework for PpdbMetricTask.

@kfindeisen kfindeisen merged commit 405c73b into master Oct 7, 2019
@kfindeisen kfindeisen deleted the tickets/DM-21098 branch October 7, 2019 18:42
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

2 participants