Skip to content

fix: authenticate child resource listings - #421

Open
Bortlesboat wants to merge 1 commit into
getlago:mainfrom
Bortlesboat:fix/child-list-authentication
Open

fix: authenticate child resource listings#421
Bortlesboat wants to merge 1 commit into
getlago:mainfrom
Bortlesboat:fix/child-list-authentication

Conversation

@Bortlesboat

Copy link
Copy Markdown

Child-resource listing requests now send the configured API key, preventing missing-header 401 failures across all twelve inherited find_all methods. The regression test exercises each public entry point with pagination and checks the outgoing headers and returned metadata.

Credit to telesoho for the original authentication fix. This PR keeps the existing timetour parameter and timeout behavior; changing those needs a separate compatibility decision.

Related: #410, #385.

Validation: all 12 new cases fail before the fix; python -m pytest tests passes all 461 tests after it. Repository-wide Ruff lint and formatting checks also pass. Tested on Windows with Python 3.12.9 and HTTPX 0.28.1; HTTP requests are mocked.

AI-assisted implementation and local verification.

@cla-check-bot

cla-check-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown

Welcome, @Bortlesboat!

Thanks for your first contribution!

Before we proceed with the review, please sign the Fiduciary License Agreement:

Sign the FLA

Once signed, this PR will be automatically updated.

@cla-check-bot

cla-check-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown

Thanks, @Bortlesboat! 🎉

Your CLA has been signed and is now on file. We'll proceed with the review shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant