You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use TypeGuard for has in Python 3.10 and above (#997)
* Use `TypeGuard` for `has` in Python 3.10 and above
* fixup! Use `TypeGuard` for `has` in Python 3.10 and above
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Test the negative case
* Add type guard example
Co-authored-by: Hynek Schlawack <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
0 commit comments