Skip to content

Add a section in tutorial about using stubs#86

Open
pm5 wants to merge 1 commit into
mcfunley:masterfrom
pm5:docs-typing-queries
Open

Add a section in tutorial about using stubs#86
pm5 wants to merge 1 commit into
mcfunley:masterfrom
pm5:docs-typing-queries

Conversation

@pm5
Copy link
Copy Markdown

@pm5 pm5 commented Jan 21, 2026

Hello. I've been using this module for years now (It's great. Thanks!) But I've always had to write a wrapper for the generated queries object to add the type information necessary to make mypy work. Only now do I realize that all it needs is a custom stub for the queries I have.

So I hope a small section about this in the tutorial can help someone someday :)

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