Pyright does not recognise Proto types #5865
Answered
by
justinchuby
superlopuh
asked this question in
Q&A
-
What's the recommended way to use the onnx API in a project that uses Pyright for type checking? It type checks all the imports to I see that the original definition for all the Protos is deserialized, could this serialization be used for type stubs? |
Beta Was this translation helpful? Give feedback.
Answered by
justinchuby
Jan 23, 2024
Replies: 1 comment 2 replies
-
The pyi files were missing in version 1.15. It should be fixed in the next version. You may verify this by installing |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
onnx-weekly with the fix has been released already. You may uninstall onnx and pip install onnx-weekly instead. The next ONNX stable release should be in the coming weeks.