-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
stubs: incompleteAnnotations or sub-modules missing from an existing package or moduleAnnotations or sub-modules missing from an existing package or module
Description
typeshed/stubs/Authlib/@tests/stubtest_allowlist.txt
Lines 50 to 60 in 1be2c3f
| # Exclude integrations dirs: | |
| authlib.integrations.django_client | |
| authlib.integrations.django_oauth1 | |
| authlib.integrations.django_oauth2 | |
| authlib.integrations.flask_client | |
| authlib.integrations.flask_oauth1 | |
| authlib.integrations.flask_oauth2 | |
| authlib.integrations.httpx_client | |
| authlib.integrations.requests_client | |
| authlib.integrations.sqla_oauth2 | |
| authlib.integrations.starlette_client |
With these integrations omitted from the stubs, users of AuthLib get inaccurate feedback when trying to use most of authlib.integrations.
For example:
from authlib.integrations.django_client import OAuth... produces unhappy intellisense:
Cannot find reference 'django_client' in 'authlib.integrations'
This is workaroundable once a developer knows what's going on, but it's a bit of bother.
Metadata
Metadata
Assignees
Labels
stubs: incompleteAnnotations or sub-modules missing from an existing package or moduleAnnotations or sub-modules missing from an existing package or module