Skip to content

Refactor repeated context setup into util.get_app_context() - #449

Merged
Mariatta merged 1 commit into
python:mainfrom
cmaloney:pr2-get-app-context
Oct 19, 2026
Merged

Mariatta merged 1 commit into
python:mainfrom
cmaloney:pr2-get-app-context

Conversation

@cmaloney

Copy link
Copy Markdown
Contributor

Working on #422: Refactor to make localhost non-https development/running easier

Three route handlers each built the same client_id/app_url context dict. Extracting to a helper also adds APP_PROTOCOL support so the GitHub OAuth redirect URL works over http:// for local development.

Three route handlers each built the same client_id/app_url context dict.
Extracting to a helper also adds APP_PROTOCOL support so the GitHub OAuth
redirect URL works over http:// for local development.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Mariatta
Mariatta merged commit 1a2a11e into python:main Oct 19, 2026
10 checks passed
@cmaloney
cmaloney deleted the pr2-get-app-context branch October 19, 2026 21:39
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.

2 participants