Content-Length: 245821 | pFad | http://github.com/googleapis/google-auth-library-python/pull/1716

B2 fix(types): add full type annotations to webauthn_types for Mypy stri… by cureprotocols · Pull Request #1716 · googleapis/google-auth-library-python · GitHub
Skip to content

fix(types): add full type annotations to webauthn_types for Mypy stri… #1716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cureprotocols
Copy link

📝 Description

This PR contributes to issue #1508 by applying full type annotations to google/oauth2/webauthn_types.py.

All functions, methods, and class properties now comply with Mypy's --strict mode.

✅ Highlights:

  • Annotated all method signatures and dataclass fields.
  • Handled all Optional, Union, Dict, and List types accurately.
  • Maintained full compatibility with Python 3.7+ and the existing library behavior.
  • Verified clean with:
mypy --strict google/oauth2/webauthn_types.py

This is part of the ongoing effort to improve type safety and maintainability across the library. Let me know if anything needs refining!

@cureprotocols cureprotocols requested review from a team as code owners April 3, 2025 01:43
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.

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-auth-library-python/pull/1716

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy