Skip to content

Add stubs for msal - #16781

Merged
srittau merged 1 commit into
python:mainfrom
wolski:msal-stubs
Nov 14, 2026
Merged

srittau merged 1 commit into
python:mainfrom
wolski:msal-stubs

Conversation

@wolski

@wolski wolski commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

msal (Microsoft Authentication Library for Python) ships no type annotations; users have been asking upstream since 2023 (AzureAD/microsoft-authentication-library-for-python#554).

This adds stubs for msal 1.39, with the client applications, token cache, managed identity and exception APIs fully annotated and the oauth2cli/WS-Trust internals partly Incomplete.

Prepared with the assistance of an AI coding agent (Claude Code).

Assisted-by: AI coding agent
@github-actions

Copy link
Copy Markdown
Contributor

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

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@srittau
srittau merged commit 8591aa4 into python:main Nov 14, 2026
74 checks passed
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.

2 participants