Autogenerate Async stubs for auth0-python
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)
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉