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

Method __aexit__

src/client/async_impl/response/http.rs:219–227  ·  view source on GitHub ↗
(
        &'py self,
        py: Python<'py>,
        _exc_type: &Bound<'py, PyAny>,
        _exc_value: &Bound<'py, PyAny>,
        _traceback: &Bound<'py, PyAny>,
    )

Source from the content-addressed store, hash-verified

217 }
218
219 fn __aexit__<'py>(
220 &'py self,
221 py: Python<'py>,
222 _exc_type: &Bound<'py, PyAny>,
223 _exc_value: &Bound<'py, PyAny>,
224 _traceback: &Bound<'py, PyAny>,
225 ) -> PyResult<Bound<'py, PyAny>> {
226 self.close(py)
227 }
228}
229
230type InnerStreamer = Pin<Box<dyn Stream<Item = wreq::Result<bytes::Bytes>> + Send + 'static>>;

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected