typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

Autogenerate Async stubs for auth0-python

Open Avasam opened this issue 10 months ago • 7 comments

This started as an experiment/demonstration for https://github.com/auth0/auth0-python/issues/615 & https://github.com/auth0/auth0-python/pull/678#issuecomment-2798399228 . 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)

Avasam avatar Apr 14 '25 20:04 Avasam

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

github-actions[bot] avatar Apr 14 '25 20:04 github-actions[bot]

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

github-actions[bot] avatar Apr 15 '25 12:04 github-actions[bot]

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

github-actions[bot] avatar Apr 15 '25 12:04 github-actions[bot]

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

github-actions[bot] avatar Apr 15 '25 21:04 github-actions[bot]

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

github-actions[bot] avatar May 03 '25 18:05 github-actions[bot]

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

github-actions[bot] avatar May 15 '25 20:05 github-actions[bot]

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

github-actions[bot] avatar May 16 '25 17:05 github-actions[bot]