#3253 refactor: Use slotted dataclasses
Pull request opened by
edgarrmondragon
## Summary by Sourcery
Convert various SDK classes to use slotted dataclasses and unify batch file encoding under BaseBatchFileEncoding with explicit format, deprecating the old JSONLinesEncoding and ParquetEncoding classes
Enhancements:
• Enable slots on dataclasses for Message, metadata, catalog, testing, and batch classes to reduce memory usage
• Consolidate batch file encoding into BaseBatchFileEncoding with explicit format field and remove subclass registry logic
• Add deprecation notices to JSONLinesEncoding and ParquetEncoding in favor of BaseBatchFileEncoding
Documentation:
• Update batch.md to illustrate BaseBatchFileEncoding usage instead of the specialized encoding classes
Tests:
• Revise batch and message tests to instantiate BaseBatchFileEncoding directly rather than JSONLinesEncoding or ParquetEncoding
meltano/sdk