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
Hey, I was just working on this issue. Could you clarify how I can check if the issue is resolved after making the changes? That would be really helpful in troubleshooting.
So, basically, if this functionality work, you should be able to see type information as well as documentation within python inspection: https://stackoverflow.com/questions/37288135/inspect-module-for-python that is not based on our current __init__.pyi . You can delete the __init__.pyi reinstall using maturin develop to see if you see any difference.
I believe it's still not working. I made the necessary changes and followed the steps you provided, but I’m still encountering an error when inspecting it.
Currently dora use a custom script called
generate_stubs.py
to generate type hinting in python.Unfortunately, this typing is not perfect as it requires manual type hinting and has many depreciated feature when linted with:
We can try to run pyo3 with the feature flag experimental-inspect and see if this can be a good automatic stub generator.
To do this, we just need to replace in
Cargo.toml
:with:
The text was updated successfully, but these errors were encountered: