#3709 feat: Add Singer message writer helpers to `singerlib`
Pull request opened by
edgarrmondragon
SSIA
Summary by Sourcery
Add convenience helpers in singerlib for writing Singer RECORD, SCHEMA, STATE, and ACTIVATE_VERSION messages and align schema message types with more general mappings/sequences.
New Features:
• Expose write_record, write_schema, write_state, and write_version helper functions from singerlib to simplify emitting Singer messages.
Enhancements:
• Relax type constraints on Singer message payloads to accept generic mappings/sequences and normalize schema key and bookmark properties to tuples instead of lists.
Tests:
• Add integration-style tests verifying the new write_* helpers emit correctly formatted JSON lines and adjust schema message tests to match the updated bookmark_properties type.
meltano/sdk