Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
cureprotocols wants to merge1 commit intogoogleapis:main
base:main
Choose a base branch
Loading
fromcureprotocols:clean-webauthn-types

Conversation

cureprotocols
Copy link

📝Description

This PR contributes to issue#1508 by applying full type annotations togoogle/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 allOptional,Union,Dict, andList 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!

@cureprotocolscureprotocols requested review froma team ascode ownersApril 3, 2025 01:43
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@cureprotocols

[8]ページ先頭

©2009-2025 Movatter.jp