#3205 refactor: Fetch OpenAPI spec with a session
Pull request opened by
edgarrmondragon on <!date^1754008732^{date_short}|2025-08-01T00:38:52Z>
Summary by Sourcery
Refactor OpenAPISchema to use a persistent requests.Session for fetching remote OpenAPI specifications and update tests accordingly
Enhancements:
• Initialize and expose a requests.Session instance in the schema source
• Switch _load_remote_spec to use the session’s get method instead of requests.get
Tests:
• Update tests to patch requests.Session.get instead of requests.get
meltano/sdk