(
&self,
input: Vec<String>,
py: Python<'py>,
)
| 35 | } |
| 36 | |
| 37 | pub fn decode_inputs<'py>( |
| 38 | &self, |
| 39 | input: Vec<String>, |
| 40 | py: Python<'py>, |
| 41 | ) -> PyResult<Bound<'py, PyAny>> { |
| 42 | let decoder = self.clone(); |
| 43 | |
| 44 | future_into_py(py, async move { |
| 45 | let result = tokio::task::spawn_blocking(move || { |
| 46 | Python::attach(|py| decoder.decode_inputs_sync(input, py)) |
| 47 | }) |
| 48 | .await |
| 49 | .unwrap(); |
| 50 | Ok(result) |
| 51 | }) |
| 52 | } |
| 53 | |
| 54 | pub fn decode_transactions_input<'py>( |
| 55 | &self, |
nothing calls this directly
no test coverage detected