-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misleading error: Missing trait IntoPyCallbackOutput #1500
Comments
At the moment we rely on the At the moment this trait is an implementation detail that we don't want users to implement themselves, so it uses We could add docs for this trait with a big label saying to implement this trait, implement |
I am interested in implementing this myself.
I think it would be better to make a doc alias for it on Also the documentation for |
Thanks, all help with implementing documentation is much appreciated!
|
We can use That is, if you are okay with adding |
It's nice to avoid the extra dependency if we can... Perhaps use the same trick we're introducing in #1128 to check the rust version in |
First of all, great crate :)
Just now, I was trying to get this pyclass/ Rust struct to compile. It's basically a struct around a hashmap that I want to expose a Python
.get
method for.This results in the following compilation error:
Sadly,
IntoPyCallbackOutput
has no documentation and can't be found in the user guide.I eventually figured out that I needed to implement
IntoPy
:Is this something that can be fixed? It did take me a while to figure out.
The text was updated successfully, but these errors were encountered: