Open marshallpierce opened 1 year ago
Returning something like anyhow::Error doesn't work, due to this bound:
anyhow::Error
#[pyo3_asyncio::tokio::main] async fn main() -> anyhow::Result<()> { ...
Is there a way around this? In this case, is the best available option to enable PyO3's anyhow feature and convert that way?
anyhow
rustc --version
version = "0.x.y"
git = "https://github.com/awestlake87/pyo3-asyncio")?
Returning something like
anyhow::Error
doesn't work, due to this bound:Is there a way around this? In this case, is the best available option to enable PyO3's
anyhow
feature and convert that way?🌍 Environment
rustc --version
): 1.69.0version = "0.x.y"
withgit = "https://github.com/awestlake87/pyo3-asyncio")?
: yes