Uh oh!
There was an error while loading. Please reload this page.
fix: remove usage of typing_extensions where possible - #17358
Conversation
There was a problem hiding this comment.
Code Review
This pull request attempts to simplify type hinting imports by replacing conditional imports from typing_extensions with direct imports from typing and types (such as TypeGuard, Self, ParamSpec, TypeAlias, Concatenate, and UnionType). However, because several of the modified packages still support Python 3.8 or 3.9, these direct imports will cause runtime ImportErrors or type-checking failures on older Python versions. The feedback recommends restoring the conditional imports based on sys.version_info to preserve backward compatibility.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
59b8df4 to
b4733ccCompare
Fixes#17244