MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / get

Function get

src/client/mod.rs:21–27  ·  view source on GitHub ↗
(
    py: Python<'_>,
    url: PyBackedStr,
    kwds: Option<RequestParams>,
)

Source from the content-addressed store, hash-verified

19#[pyfunction]
20#[pyo3(signature = (url, **kwds))]
21pub fn get(
22 py: Python<'_>,
23 url: PyBackedStr,
24 kwds: Option<RequestParams>,
25) -> PyResult<Bound<'_, PyAny>> {
26 future_into_py(py, shortcut_request(url, Method::GET, kwds))
27}
28
29/// Make a POST request with the given parameters.
30#[pyfunction]

Callers

nothing calls this directly

Calls 1

shortcut_requestFunction · 0.85

Tested by

no test coverage detected