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

Abstract data set processing to a trait #826

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

maplant
Copy link
Contributor

@maplant maplant commented Jun 6, 2024

This PR abstracts out the data set processing part of the DataSetDownloader into a separate trait.
There are two implementers, FileSinkClient and NopDataSetProcessor.
This is so that the DataSetDownloader can be used without processing the data.
The implementer of this trait being FileSinkClient is because you would only want to supply a file sink if you are processing the data.

@maplant maplant merged commit fa80db4 into main Jun 7, 2024
15 checks passed
@maplant maplant deleted the map/refactor-data-set-downloader branch June 7, 2024 17:32
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