GitHub
09/02/2026, 12:56 AMStreamSchema on the base Stream class and fix method resolution order so schema access works consistently for instances and subclasses.
New Features:
• Introduce a class-level schema descriptor on Stream backed by StreamSchema and a fallback instance schema descriptor.
Bug Fixes:
• Ensure the schema attribute on streams correctly resolves via MRO and falls back to instance-level schema when no class-level schema is defined.
• Prevent accidental mutation of stream schema by making the schema descriptor read-only on instances and raising an error if no schema source is configured.
Enhancements:
• Add type-safe overloads and Self typing to the StreamSchema descriptor for better static type checking.
• Improve error messages when schemas are missing for streams or when no schema source is configured.
• Simplify SQLStream and filesystem stream schema access by relying on the unified descriptor mechanism instead of custom properties.
meltano/sdkGitHub
09/02/2026, 12:56 AM