ssec-jhu / dplutils

Distributed(Data) Pipeline Uitilities
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Improve support for pipeline config from file #96

Closed amitschang closed 1 month ago

amitschang commented 1 month ago

Add cli option for config from yaml file given on command line. Also change the file format to enable context to likewise be configured using separate sections in config. This is a breaking change, but resolution is simple and impact should be very low due to limited existing usage.

Resolves https://github.com/ssec-jhu/dplutils/issues/64

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (fbdec01) to head (b4e5da2). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #96 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 11 11 Lines 579 587 +8 ========================================= + Hits 579 587 +8 ``` | [Flag](https://app.codecov.io/gh/ssec-jhu/dplutils/pull/96/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ssec-jhu) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/ssec-jhu/dplutils/pull/96/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ssec-jhu) | `100.00% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ssec-jhu#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.