siyul-park / uniflow

A high-performance, extremely flexible, and easily extensible universal workflow engine.
MIT License
42 stars 5 forks source link

feat: support dynamic filename #153

Closed siyul-park closed 2 months ago

siyul-park commented 2 months ago

Changes Made

The read and write nodes now support dynamic filename handling. If the filename is empty in the specification, the nodes will expect the payload from the in port to be in the format [filename, ..]. The nodes will then open, read/write to, and close the file as specified by the provided filename.

Related Issues

Additional Information

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 60.90909% with 43 lines in your changes missing coverage. Please review.

Project coverage is 76.15%. Comparing base (b79a8f8) to head (7eae263).

Files Patch % Lines
ext/pkg/io/write.go 58.82% 14 Missing and 7 partials :warning:
ext/pkg/io/read.go 59.09% 11 Missing and 7 partials :warning:
ext/pkg/io/fs.go 73.33% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #153 +/- ## ========================================== - Coverage 76.43% 76.15% -0.28% ========================================== Files 136 136 Lines 8206 8283 +77 ========================================== + Hits 6272 6308 +36 - Misses 1346 1373 +27 - Partials 588 602 +14 ```

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