Skip to content

updating watcher task functions to be cleaner, inspired by other PR #34

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
merged 1 commit into from
May 7, 2019

Conversation

vsoch
Copy link
Owner

@vsoch vsoch commented May 7, 2019

This pull request will re-organize the task base to include a single entrypoint to the functions to write data to file. I made this decision based on doing similar in #32, which I'm not sure is going to be merged, and wanted to maintain the nice organization here. Specifically, instead of having custom parsing done by the watcher, we allow it to be run (and then custom defined) by the task. This way, a special kind of task can choose to parse data in a custom way.

I'm also experimenting with flake8, and am considering adding it (but possibly after this merge to not be too much in one PR).

Signed-off-by: Vanessa Sochat [email protected]

@vsoch vsoch merged commit ba0967f into master May 7, 2019
@vsoch vsoch deleted the update/reorganize branch May 7, 2019 23:45
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.

1 participant