We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
()
future_into_py
None
Found in developmentseed/obstore#240 and with a small repro here
#[pyfunction] pub(crate) fn return_none_async(py: Python) -> PyResult<Bound<PyAny>> { pyo3_async_runtimes::tokio::future_into_py(py, async move { Ok(()) }) }
This is in contrast to normal pyo3 where returning () from Rust creates a Python None.
pyo3
Using pyo3 0.23 and pyo3-async-runtimes 0.23.
The text was updated successfully, but these errors were encountered:
Hmm, interesting. This is related maybe to PyO3/pyo3#4896
Sorry, something went wrong.
No branches or pull requests
Found in developmentseed/obstore#240 and with a small repro here
This is in contrast to normal
pyo3
where returning()
from Rust creates a PythonNone
.Using pyo3 0.23 and pyo3-async-runtimes 0.23.
The text was updated successfully, but these errors were encountered: