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
def size(self) -> typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(3)]:
^
ParseError: 'Attribute' object has no attribute 'id'
I'm new to the type annotation syntax, so just in case I wrote about it both in pybind11-stubgen and here.
Mypy and Pyright don't show any error or warning for that line.
The text was updated successfully, but these errors were encountered:
I got stubs for C++ extension with such an annotation for the array size:
which pytype doesn't like:
I'm new to the type annotation syntax, so just in case I wrote about it both in pybind11-stubgen and here.
Mypy and Pyright don't show any error or warning for that line.
The text was updated successfully, but these errors were encountered: