-
Notifications
You must be signed in to change notification settings - Fork 73
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
refactor: Implement a SingerWriter
class in singer_sdk.io_base
and use it to emit Singer messages
#2058
refactor: Implement a SingerWriter
class in singer_sdk.io_base
and use it to emit Singer messages
#2058
Conversation
CodSpeed Performance ReportMerging #2058 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2058 +/- ##
==========================================
+ Coverage 87.45% 87.46% +0.01%
==========================================
Files 58 58
Lines 4861 4867 +6
Branches 994 993 -1
==========================================
+ Hits 4251 4257 +6
Misses 429 429
Partials 181 181 ☔ View full report in Codecov by Sentry. |
SingerWriter
class in singer_sdk.io_base
and use it to emit Singer messages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @BuzzCutNorman!
Creates a
SingerWriter
class insinger_sdk.io_base
which the write_message(), and format_message functions from singer_sdk._singerlib.messages are placed into. After doinng this all the stdin and stdout methods, json encoders, and json decoder would be in one file. SingerWriter was added as an inherited class of Tap just like SingerReader is an inherited class of Target.📚 Documentation preview 📚: https://meltano-sdk--2058.org.readthedocs.build/en/2058/