Skip to content

refactor: convert webapp auth type if/elif to match/case (#30001)#34782

Merged
asukaminato0721 merged 1 commit intolanggenius:mainfrom
dataCenter430:refactor/match-case-webapp-auth-type
Apr 9, 2026
Merged

refactor: convert webapp auth type if/elif to match/case (#30001)#34782
asukaminato0721 merged 1 commit intolanggenius:mainfrom
dataCenter430:refactor/match-case-webapp-auth-type

Conversation

@dataCenter430
Copy link
Copy Markdown
Contributor

Changes

Convert if/elif chains on WebAppAuthType enum to exhaustive match/case statements in passport.py.

Part of #30001.

Files changed

  • api/controllers/web/passport.py

All tests passed.

@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. refactor labels Apr 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 9, 2026

Pyrefly Diff

No changes detected.

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Apr 9, 2026
@asukaminato0721 asukaminato0721 added this pull request to the merge queue Apr 9, 2026
Merged via the queue into langgenius:main with commit ce68f2c Apr 9, 2026
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer refactor size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants