Skip to content

Autogenerate Async stubs for auth0-python #13826

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Apr 14, 2025

This started as an experiment/demonstration for auth0/auth0-python#615 & auth0/auth0-python#678 (comment) . But I think it's actually good enough to be considered seriously.

With these changes, the stubs are a lot closer to the actual runtime implementations.

This can surely be improved further by using actual codemods and ast-based replacements. I was just more familiar with regex to get it working this way first.

Some manual changes here (related to removing entries from stubs/auth0-python/@tests/stubtest_allowlist.txt) can be done separately (I'll open a separate PR for them)

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

Copy link
Contributor

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

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