#9467 refactor: Split state lookup and retrieval
Pull request opened by
edgarrmondragon
## Description
## Related Issues
• Closes #XXXX
## Summary by Sourcery
Refactor state handling in the Singer tap by extracting state retrieval into its own method and simplifying file writing logic
Enhancements:
• Introduce get_singer_state method to encapsulate state backend retrieval
• Simplify look_up_state to delegate retrieval and handle writing the returned state
• Add warning log when no state is found during lookup
• Update imports to include Project and Session for the new method
meltano/meltano