Skip to content
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

Use isinstance() over hasattr() for type guard #27211

Merged
merged 3 commits into from
Jan 21, 2025

Don't use bound type alias; use type union instead

552b6c1
Select commit
Loading
Failed to load commit list.
Merged

Use isinstance() over hasattr() for type guard #27211

Don't use bound type alias; use type union instead
552b6c1
Select commit
Loading
Failed to load commit list.
Vercel / Vercel Preview Comments succeeded Jan 18, 2025 in 0s

✅ No unresolved feedback

💬 0 unresolved, 0 resolved. Go to feedback