We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c724a52 commit 14f70afCopy full SHA for 14f70af
array_api_compat/common/_helpers.py
@@ -56,7 +56,7 @@
56
_API_VERSIONS: Final = _API_VERSIONS_OLD | frozenset({"2024.12"})
57
58
59
-def _is_jax_zero_gradient_array(x: object) -> TypeIs[_ZeroGradientArray]:
+def _is_jax_zero_gradient_array(x: object) -> TypeGuard[_ZeroGradientArray]:
60
"""Return True if `x` is a zero-gradient array.
61
62
These arrays are a design quirk of Jax that may one day be removed.
pyproject.toml
@@ -100,7 +100,6 @@ ignore_missing_imports = true
100
101
[tool.pyright]
102
include = ["src", "tests"]
103
-pythonVersion = "3.10"
104
pythonPlatform = "All"
105
106
reportAny = false
0 commit comments