Skip to content

fix: add missing Any import to alembic migration templates#697

Merged
cofin merged 1 commit into
mainfrom
fix-691
Mar 26, 2026
Merged

fix: add missing Any import to alembic migration templates#697
cofin merged 1 commit into
mainfrom
fix-691

Conversation

@Harshal6927

Copy link
Copy Markdown
Member

Description

The try/except ImportError fallback for optional password hashers (Argon2Hasher, PasslibHasher, PwdlibHasher) used Any as a type placeholder, but Any was never imported. This caused a NameError when running migrations without optional dependencies installed.

Closes

#691

@sonarqubecloud

Copy link
Copy Markdown

@cofin
cofin merged commit 2940390 into main Mar 26, 2026
21 checks passed
@cofin
cofin deleted the fix-691 branch March 26, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants