Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Context typing for custom contexts #47

Merged
merged 4 commits into from
Nov 10, 2023

Conversation

null-domain
Copy link
Contributor

So that people can subclass the context classes without typecheckers like pyright complaining

(I am people)

100% untested
nox did not complain

Copy link
Owner

@hypergonial hypergonial left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing the change for select decorators

@hypergonial hypergonial added the enhancement New feature or request label Nov 9, 2023
@hypergonial hypergonial changed the title Switch to using ViewContext typevar for button deco Improve Context typing for custom contexts Nov 9, 2023
So that people can subclass the context classes without typecheckers like pyright complaining
now tayne i can get into
Computer, load up Celery Man please.
Could you kick up the, uh, 4d3d3d3?
@hypergonial hypergonial merged commit 3ec5e47 into hypergonial:main Nov 10, 2023
6 checks passed
@null-domain null-domain deleted the chore/use-context-typevar branch November 10, 2023 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants