Skip to content

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

Merged
kishore7snehil merged 3 commits intomasterfrom
fix/add-top-level-py-typed
May 4, 2026
Merged

fix: Add top-level py.typed marker to resolve IDE import errors#829
kishore7snehil merged 3 commits 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
Copy link
Copy Markdown
Contributor

@developerkunal developerkunal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kishore7snehil kishore7snehil merged commit f182694 into master May 4, 2026
9 checks passed
@kishore7snehil kishore7snehil deleted the fix/add-top-level-py-typed branch May 4, 2026 10:06
@kishore7snehil kishore7snehil mentioned this pull request May 4, 2026
kishore7snehil added a commit that referenced this pull request May 4, 2026
**Added**
- chore: Add events module, async token support, and connection retry
resilience [\#835](#835)
([fern-api[bot]](https://github.com/apps/fern-api))

**Changed**
- [fern-replay] Initialize Replay for SDK customizations
[\#833](#833)
([fern-api[bot]](https://github.com/apps/fern-api),
[developerkunal](https://github.com/developerkunal))

**Fixed**
- fix: Add top-level `py.typed` marker to resolve IDE import errors
[\#829](#829)
([kishore7snehil](https://github.com/kishore7snehil))
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

2 participants