GitHub
06/04/2025, 2:22 AMcast parameter to set_with_metadata to control value casting.
• Restrict automatic casting in get_with_metadata to non-expandable settings only.
• Remove unused type variable and refine type hints in plugin settings service and CLI.
Tests:
• Add test_get_expandable_inherited to verify that expandable inherited settings are not cast.
## Summary by Sourcery
Prevent automatic casting of expandable inherited settings and expose explicit control over value casting in settings APIs, while refining related type hints.
Bug Fixes:
• Prevent casting of expandable inherited settings to avoid invalid type conversions.
Enhancements:
• Add a cast parameter to set_with_metadata to allow callers to disable casting.
• Restrict automatic value casting in get_with_metadata to non-expandable settings only.
Tests:
• Add test_get_expandable_inherited to verify that expandable inherited settings bypass casting.
meltano/meltanoGitHub
06/04/2025, 2:22 AMGitHub
06/04/2025, 2:35 AM