Jakub Bachurski
Jakub Bachurski
I would be happy with a non-coercing implementation of this for a start, if only a nice type hint were possible. `npt.ArrayLike` is a Union and would expand into its...
Indeed I think we can fix this in Sphinx - it would also be nice to find something for IDEs/checkers, although: PyCharm doesn't seem to have resolved: https://youtrack.jetbrains.com/issue/PY-42486 And for...
This would be a proof-of-concept: ```py from typing import Union from typing_extensions import TypeAlias import numpy as np import numpy.typing as npt from spox import argument, Var, Tensor import spox.opset.ai.onnx.v17...