#10004 refactor: Use global constant for the state file name `state.json`
Pull request opened by
edgarrmondragon
Description
SSIA.
Checklist
• I have read the
contribution guide
Was generative AI tooling used to co-author this PR?
• Yes (please specify the tool below)
Related Issues
• Closes #XXXX
Summary by Sourcery
Refactor filesystem and S3 state store backends to centralize the state file name and align method/property overrides with typing expectations.
Enhancements:
• Introduce a shared constant for the state file name and replace hard-coded "state.json" usages across filesystem-based state stores.
• Change filesystem state store manager labels and certain attributes to properties and adjust override annotations for better type checking and coverage control.
• Simplify and tighten pattern-matching logic when listing state IDs in remote filesystem state stores.
• Import and apply the typing override decorator in the S3 backend to explicitly mark overridden methods.
meltano/meltano