let __alef_runtime = pyo3_async_runtimes::tokio::get_runtime();
{{ bind }}_py.detach(move || {
__alef_runtime.block_on(owner.{{ ep_method }}({{ args }}))
}){% if has_error %}
.map_err(|e| pyo3::exceptions::PyRuntimeError::new_err(e.to_string()))?{% endif %};