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

Method __exit__

src/client/blocking/response/http.rs:160–168  ·  view source on GitHub ↗
(
        &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

158 }
159
160 fn __exit__<'py>(
161 &self,
162 py: Python<'py>,
163 _exc_type: &Bound<'py, PyAny>,
164 _exc_value: &Bound<'py, PyAny>,
165 _traceback: &Bound<'py, PyAny>,
166 ) -> PyResult<()> {
167 self.close(py)
168 }
169}
170
171/// A blocking byte stream response.

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected