Write a python pkg by pyo3. But failed to extract rust struct from calling python function in another crate #5607
Unanswered
Poseidon-fan
asked this question in
Questions
Replies: 1 comment
-
|
Currently |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Put simply, I write a python pkg by rust:
and run
maturin developto install it in current venv.In another rust binary crate, I call a python function which returns a Resp struct. When I try to extract this python object back to rust, it throws err:
TypeError: 'Resp' object cannot be converted to 'Resp'
Beta Was this translation helpful? Give feedback.
All reactions