Skip to content

fix: Add top-level py.typed marker to resolve IDE import errors#829

Open
kishore7snehil wants to merge 1 commit intomasterfrom
fix/add-top-level-py-typed
Open

fix: Add top-level py.typed marker to resolve IDE import errors#829
kishore7snehil wants to merge 1 commit intomasterfrom
fix/add-top-level-py-typed

Conversation

@kishore7snehil
Copy link
Copy Markdown
Contributor

@kishore7snehil kishore7snehil commented Apr 24, 2026

Changes

  • Adds a py.typed marker at the root package level (src/auth0/py.typed).

The marker previously only existed under src/auth0/management/, causing IDEs like PyCharm to fall back to outdated typeshed stubs and report unresolved imports for ManagementClient, ApiError, and other classes. A root-level marker signals IDEs to use the package's own inline types instead.

Closes #824
Related: #804, #793

The `py.typed` marker only existed under `auth0/management/`, causing
IDEs like PyCharm to fall back to outdated typeshed stubs and report
unresolved imports for `ManagementClient`, `ApiError`, and other classes.

Adding a root-level marker signals IDEs to use the package's own inline
types instead.

Closes #824
@kishore7snehil kishore7snehil requested a review from a team as a code owner April 24, 2026 08:05
@kishore7snehil kishore7snehil mentioned this pull request Apr 24, 2026
5 tasks
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.

Imports are still broken

1 participant