Skip to content

Make request handlers generic in their server type - #16454

Open
jw9829 wants to merge 1 commit into
python:mainfrom
jw9829:fix-http-server-handler-generic
Open

jw9829 wants to merge 1 commit into
python:mainfrom
jw9829:fix-http-server-handler-generic

Conversation

@jw9829

@jw9829 jw9829 commented Sep 30, 2026

Copy link
Copy Markdown

Fixes #16428. Let a request handler declare the server type it is paired with, so self.server keeps that type.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

This branch has not been deployed

No deployments
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.

What about RequestHandlerClass being generic for its server type?

1 participant