How to generate .pyi files?
#5603
Unanswered
wangzhen0518
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I followed the tutorial in https://pyo3.rs/v0.27.1/type-stub.html. Here is my code:
The compilation command is:
However, the generated files only contain
.soand__init__.py, but no.pyifiles. I also have read the issues about stub files generation, e.g., #5137, #3977, but I am not familiar with.pyi, "introspection fragments" and many other conceptions. Does pyo3 now only support generating introspection fragments and not generating .pyi files?I noticed there was a related discussion #2330, but it's quite outdated.
Beta Was this translation helpful? Give feedback.
All reactions