GitHub
05/21/2025, 2:36 PMStream.primary_keys to always be a sequence
Pull request opened by edgarrmondragon
## Summary by Sourcery
Enforce non-optional primary_keys on streams, update type hints and defaults to always return a sequence, and streamline catalog application logic.
Enhancements:
• Make Stream.primary_keys property always return a sequence and update its setter to accept only sequences
• Supply an empty tuple fallback for primary_keys when applying the catalog to avoid None values
• Simplify replication_key and replication_method assignments in apply_catalog
• Rename catalog_entry variable to entry in apply_catalog and SQL stream for clarity
meltano/sdkGitHub
05/21/2025, 2:36 PMStream.primary_keys to always be a sequence
Pull request ready for review by edgarrmondragon
meltano/sdkGitHub
05/21/2025, 2:39 PM