MCPcopy Create free account
hub / github.com/enviodev/hypersync-client-python / decode_inputs

Method decode_inputs

src/decode_call.rs:37–52  ·  view source on GitHub ↗
(
        &self,
        input: Vec<String>,
        py: Python<'py>,
    )

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.45
decode_inputs_syncMethod · 0.45

Tested by

no test coverage detected